cve.bz

CAPEC-271

Schema Poisoning

High severityLow likelihoodStandard pattern

An adversary corrupts or modifies the content of a schema for the purpose of undermining the security of the target. Schemas provide the structure and content definitions for resources used by an application. By replacing or modifying a schema, the adversary can affect how the application handles or interprets a resource, often leading to possible denial of service, entering into an unexpected state, or recording incomplete data.

On this page

Ask an AI about this attack pattern

Show the promptExplain the attack pattern CAPEC-271: Schema Poisoning: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/271.html and https://cve.bz/cve/capec/271?via=ask-ai-copy, which lists recent CVEs with the weaknesses it exploits. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this attack pattern's id and public links.

How the attack unfolds

  1. Explore

    The attacker looks for a way in.

    1. [Find target application and schema] The adversary first finds the application that they want to target. This application must use schemas in some way, so the adversary also needs to confirm that schemas are being used.

      2 techniques
      • Gain access to the system that the application is on and look for a schema.
      • Observe HTTP traffic to the application and look for a schema being transmitted.
  2. Experiment

    They probe what they found.

    1. [Gain access to schema] The adversary gains access to the schema so that they can modify the contents.

      2 techniques
      • For a local scenario, the adversary needs access to the machine that the schema is located on and gain permissions to alter the contents of the schema file.
      • For a remote scenario, the adversary needs to be able to perform an adversary in the middle attack on the HTTP traffic that contains a schema.
  3. Exploit

    They carry out the attack.

    1. [Poison schema] Once the adversary gains access to the schema, they will alter it to achieve a desired effect. Locally, they can just modify the file. For remote schemas, the adversary will alter the schema in transit by performing an adversary in the middle attack.

      3 techniques
      • Cause a denial of service by modifying the schema so that it does not contain required information for subsequent processing.
      • Manipulation of the data types described in the schema may affect the results of calculations. For example, a float field could be changed to an int field.
      • Change the encoding defined in the schema for certain fields allowing the contents to bypass filters that scan for dangerous strings. For example, the modified schema might use a URL encoding instead of ASCII, and a filter that catches a semicolon (;) might fail to detect its URL encoding (%3B).

Prerequisites

  • Some level of access to modify the target schema.

  • The schema used by the target application must be improperly secured against unauthorized modification and manipulation.

Resources required

  • Access to the schema and the knowledge and ability modify it. Ability to replace or redirect access to the modified schema.

Consequences

What a successful attack can lead to
ImpactAffectsNote
Unreliable Execution, Resource ConsumptionAvailabilityA successful schema poisoning attack can compromise the availability of the target system's service by exhausting its available resources.
Modify DataIntegrity
Read DataConfidentiality

Mitigations

  • Design: Protect the schema against unauthorized modification.

  • Implementation: For applications that use a known schema, use a local copy or a known good repository instead of the schema reference supplied in the schema document.

  • Implementation: For applications that leverage remote schemas, use the HTTPS protocol to prevent modification of traffic in transit and to avoid unauthorized modification.

Weaknesses it exploits

  • CWE-15 External Control of System or Configuration Setting

Recent CVEs with these weaknesses

  1. 6.7CVE-2026-126796

    A LibreOffice Writer document can contain its own database. When the document was opened, that database was registered in the user's settings under a name the document chose, replacing any database the user had registered under that name. …

  2. 8.3CVE-2026-134792

    When the proxy option isn't set, HttpClient takes the proxy from environment variables like http_proxy or HTTP_PROXY. On web servers, it ignores HTTP_PROXY, because PHP puts the Proxy request header there (the httpoxy issue). On the CLI SA…

  3. 7.8CVE-2026-130164

    Hermes Agent is an open-source autonomous AI agent built by Nous Research for running tool-using workflows across CLI, desktop, and messaging interfaces. From 0.21.6 to 0.23.1, when Bot Desktop is hosted inside a non-local terminal backend…

  4. 5.3CVE-2026-135287

    LiteLLM Proxy 1.62.4 before 1.84.0 contains a callback injection vulnerability that allows authenticated API key holders to register process-wide logging callbacks by supplying callbacks fields in request bodies. Attackers can name an unen…

  5. 8.1CVE-2026-131305

    In Splunk AI Assistant versions below 2.0.0, a user who does not hold the "admin" or "power" Splunk roles could submit client-controlled feature settings through the Representational State Transfer (REST) API. This could modify limited res…

  6. 7.8CVE-2026-133198

    In JetBrains Junie before 252.819.35, 253.819.35 code execution was possible via terminal environment settings in project files

  7. 8.0CVE-2026-133017

    In JetBrains TeamCity before 2026.2.1, 2026.1.5 remote code execution was possible via Git VCS root settings

  8. 7.5CVE-2026-132895

    In JetBrains TeamCity before 2026.2, 2026.1.4, 2025.11.8 remote code execution was possible via Subversion VCS root settings

The newest records naming one of them. Each weakness's page lists them all.

Part of
  • CAPEC-176 Configuration/Environment Manipulation
Can follow
More specific patterns

Examples

In a JSON Schema Poisoning Attack, an adervary modifies the JSON schema to cause a Denial of Service (DOS) or…

In a JSON Schema Poisoning Attack, an adervary modifies the JSON schema to cause a Denial of Service (DOS) or to submit malicious input:

{ "title": "Contact", "type": "object", "properties": { "Name": { "type": "string" }, "Phone": { "type": "string" }, "Email": { "type": "string" }, "Address": { "type": "string" } }, "required": ["Name", "Phone", "Email", "Address"] }

If the 'name' attribute is required in all submitted documents and this field is removed by the adversary, the application may enter an unexpected state or record incomplete data. Additionally, if this data is needed to perform additional functions, a Denial of Service (DOS) may occur.

In a Database Schema Poisoning Attack, an adversary alters the database schema being used to modify the datab…

In a Database Schema Poisoning Attack, an adversary alters the database schema being used to modify the database in some way. This can result in loss of data, DOS, or malicious input being submitted. Assuming there is a column named "name", an adversary could make the following schema change:

ALTER TABLE Contacts MODIFY Name VARCHAR(65353);

The "Name" field of the "Conteacts" table now allows the storing of names up to 65353 characters in length. This could allow the adversary to store excess data within the database to consume system resource or to execute a DOS.

MITRE's words, unchanged: CAPEC-271 at MITRE. CAPEC is Copyright © 2007–2026, The MITRE Corporation, used under the CAPEC terms of use: “The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use Common Attack Pattern Enumeration and Classification (CAPEC™) for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE’s copyright designation and this license in any such copy.” CAPEC and the CAPEC logo are trademarks of The MITRE Corporation. Credits. All attack patterns.