Common Weakness Enumeration

CWE-20

Weakness Discouraged

Improper Input Validation

Abstraction: Class · Status: Stable

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Technical nuance

Input validation is a frequently-used technique for checking potentially dangerous inputs in order to ensure that the inputs are safe for processing within the code, or when communicating with other components.

Input can consist of:

raw data - strings, numbers, parameters, file contents, etc.

metadata - information about the raw data, such as headers or size

Data can be simple or structured. Structured data can be composed of many nested layers, composed of combinations of metadata and raw data, with other simple or structured data.

Many properties of raw data or metadata may need to be validated upon entry into the code, such as:

specified quantities such as size, length, frequency, price, rate, number of operations, time, etc.

implied or derived quantities, such as the actual size of a file instead of a specified size

indexes, offsets, or positions into more complex data structures

symbolic keys or other elements into hash tables, associative arrays, etc.

well-formedness, i.e. syntactic correctness - compliance with expected syntax

lexical token correctness - compliance with rules for what is treated as a token

specified or derived type - the actual type of the input (or what the input appears to be)

consistency - between individual data elements, between raw data and metadata, between references, etc.

conformance to domain-specific rules, e.g. business logic

equivalence - ensuring that equivalent inputs are treated the same

authenticity, ownership, or other attestations about the input, e.g. a cryptographic signature to prove the source of the data

Implied or derived properties of data must often be calculated or inferred by the code itself. Errors in deriving properties may be considered a contributing factor to improper input validation.

Dimensions

  • Behavior-Type: Validation
  • Behavior-Property: Improper
  • Input-Type: Input
Mapping guidance

CWE-20 is commonly misused in low-information vulnerability reports when lower-level CWEs could be used instead, or when more details about the vulnerability are available [REF-1287]. It is not useful for trend analysis. It is also a level-1 Class (i.e., a child of a Pillar). Finally, CWE-20 is often misused when the root cause issue is related to how input is incorrectly transformed, instead of "validated" to be correct as-is.

Within CWE, the "input validation" term focuses on the act of checking whether an input is already safe, which is different from other techniques that ensure safe processing of input. Carefully perform root-cause analysis to be sure that the issue is not due to techniques that attempt to transform potentially-dangerous input into something safe, such as filtering (CWE-790) - which attempts to remove dangerous inputs - or encoding/escaping (CWE-116), which attempts to ensure that the input is not misinterpreted when it is included in output to another component.

If the issue is truly due to improper input validation, consider using lower-level children.

Relationships and members
ChildOf: CWE-707 · View CWE-1000
PeerOf: CWE-345 (symmetric) · View CWE-1000
CanPrecede: CWE-22 · View CWE-1000
CanPrecede: CWE-41 · View CWE-1000
CanPrecede: CWE-74 · View CWE-1000
CanPrecede: CWE-119 · View CWE-1000
CanPrecede: CWE-770 · View CWE-1000
Modes of introduction
Architecture and Design
Implementation

REALIZATION: This weakness is caused during implementation of an architectural security tactic.

If a programmer believes that an attacker cannot modify certain inputs, then the programmer might not perform any input validation at all. For example, in web applications, many programmers believe that cookies and hidden form fields can not be modified from a web browser (CWE-472), although they can be altered using a proxy or a custom program. In a client-server architecture, the programmer might assume that client-side security checks cannot be bypassed, even when a custom client could be written that skips those checks (CWE-602).

Detection methods

Automated Static Analysis

Some instances of improper input validation can be detected using automated static analysis.

A static analysis tool might allow the user to specify which application-specific methods or functions perform input validation; the tool might also have built-in knowledge of validation frameworks such as Struts. The tool may then suppress or de-prioritize any associated warnings. This allows the analyst to focus on areas of the software in which input validation does not appear to be present.

Except in the cases described in the previous paragraph, automated static analysis might not be able to recognize when proper input validation is being performed, leading to false positives - i.e., warnings that do not have any security consequences or require any code changes.

Manual Static Analysis

When custom input validation is required, such as when enforcing business rules, manual analysis is necessary to ensure that the validation is properly implemented.

Fuzzing

Fuzzing techniques can be useful for detecting input validation errors. When unexpected inputs are provided to the software, the software should not crash or otherwise become unstable, and it should generate application-controlled error messages. If exceptions or interpreter-generated error messages occur, this indicates that the input was not detected and handled within the application logic itself.

Automated Static Analysis - Binary or Bytecode

According to SOAR [REF-1479], the following detection techniques may be useful:

Cost effective for partial coverage:

Bytecode Weakness Analysis - including disassembler + source code weakness analysis

Binary Weakness Analysis - including disassembler + source code weakness analysis

Effectiveness: SOAR Partial

Manual Static Analysis - Binary or Bytecode

According to SOAR [REF-1479], the following detection techniques may be useful:

Cost effective for partial coverage:

Binary / Bytecode disassembler - then use manual analysis for vulnerabilities & anomalies

Effectiveness: SOAR Partial

Dynamic Analysis with Automated Results Interpretation

According to SOAR [REF-1479], the following detection techniques may be useful:

Highly cost effective:

Web Application Scanner

Web Services Scanner

Database Scanners

Effectiveness: High

Dynamic Analysis with Manual Results Interpretation

According to SOAR [REF-1479], the following detection techniques may be useful:

Highly cost effective:

Fuzz Tester

Framework-based Fuzzer

Cost effective for partial coverage:

Host Application Interface Scanner

Monitored Virtual Environment - run potentially malicious code in sandbox / wrapper / virtual machine, see if it does anything suspicious

Effectiveness: High

Manual Static Analysis - Source Code

According to SOAR [REF-1479], the following detection techniques may be useful:

Highly cost effective:

Focused Manual Spotcheck - Focused manual analysis of source

Manual Source Code Review (not inspections)

Effectiveness: High

Automated Static Analysis - Source Code

According to SOAR [REF-1479], the following detection techniques may be useful:

Highly cost effective:

Source code Weakness Analyzer

Context-configured Source Code Weakness Analyzer

Effectiveness: High

Architecture or Design Review

According to SOAR [REF-1479], the following detection techniques may be useful:

Highly cost effective:

Inspection (IEEE 1028 standard) (can apply to requirements, design, source code, etc.)

Formal Methods / Correct-By-Construction

Cost effective for partial coverage:

Attack Modeling

Effectiveness: High

Notes

Relationship

CWE-116 and CWE-20 have a close association because, depending on the nature of the structured message, proper input validation can indirectly prevent special characters from changing the meaning of a structured message. For example, by validating that a numeric ID field should only contain the 0-9 characters, the programmer effectively prevents injection attacks.

Multiple techniques exist to transform potentially dangerous input into something safe, which is different than "validation," which is a technique to check if an input is already safe. CWE users need to be cautious during root cause analysis to ensure that an issue is truly an input-validation problem.

Maintenance

As of 2020, this entry is used more often than preferred, and it is a source of frequent confusion. It is being actively modified for CWE 4.1 and subsequent versions.

Maintenance

Concepts such as validation, data transformation, and neutralization are being refined, so relationships between CWE-20 and other entries such as CWE-707 may change in future versions, along with an update to the Vulnerability Theory document.

Maintenance

Input validation - whether missing or incorrect - is such an essential and widespread part of secure development that it is implicit in many different weaknesses. Traditionally, problems such as buffer overflows and XSS have been classified as input validation problems by many security professionals. However, input validation is not necessarily the only protection mechanism available for avoiding such problems, and in some cases it is not even sufficient. The CWE team has begun capturing these subtleties in chains within the Research Concepts view (CWE-1000), but more work is needed.

Terminology

The "input validation" term is extremely common, but it is used in many different ways. In some cases its usage can obscure the real underlying weakness or otherwise hide chaining and composite relationships.

Some people use "input validation" as a general term that covers many different neutralization techniques for ensuring that input is appropriate, such as filtering, i.e., attempting to remove dangerous inputs (related to CWE-790); encoding/escaping, i.e., attempting to ensure that the input is not misinterpreted when it is included in output to another component (related to CWE-116); or canonicalization, which often indirectly removes otherwise-dangerous inputs. Others use the term in a narrower context to simply mean "checking if an input conforms to expectations without changing it." CWE uses this narrow interpretation.

Note that "input validation" has very different meanings to different people, or within different classification schemes. Caution must be used when referencing this CWE entry or mapping to it. For example, some weaknesses might involve inadvertently giving control to an attacker over an input when they should not be able to provide an input at all, but sometimes this is referred to as input validation.

Finally, it is important to emphasize that the distinctions between input validation and output escaping are often blurred. Developers must be careful to understand the difference, including how input validation is not always sufficient to prevent vulnerabilities, especially when less stringent data types must be supported, such as free-form text. Consider a SQL injection scenario in which a person's last name is inserted into a query. The name "O'Reilly" would likely pass the validation step since it is a common last name in the English language. However, this valid name cannot be directly inserted into the database because it contains the "'" apostrophe character, which would need to be escaped or otherwise transformed. In this case, removing the apostrophe might reduce the risk of SQL injection, but it would produce incorrect behavior because the wrong name would be recorded.

Content history
Submission: 7 Pernicious Kingdoms · 2006-07-19 · CWE Draft 3
Contribution: Abhi Balakrishnan · 2024-02-29 · CWE 4.17

Contributed usability diagram concepts used by the CWE team.

Modification: Eric Dalci · Cigital · 2008-07-01 · CWE 1.0

updated Potential_Mitigations, Time_of_Introduction

Modification: · Veracode · 2008-08-15 · CWE 1.0

Suggested OWASP Top Ten 2004 mapping

Modification: CWE Content Team · MITRE · 2008-09-08 · CWE 1.0

updated Relationships, Other_Notes, Taxonomy_Mappings

Modification: CWE Content Team · MITRE · 2008-11-24 · CWE 1.1

updated Relationships, Taxonomy_Mappings

Modification: CWE Content Team · MITRE · 2009-01-12 · CWE 1.2

updated Applicable_Platforms, Common_Consequences, Demonstrative_Examples, Description, Likelihood_of_Exploit, Name, Observed_Examples, Other_Notes, Potential_Mitigations, References, Relationship_Notes, Relationships

Modification: CWE Content Team · MITRE · 2009-03-10 · CWE 1.3

updated Description, Potential_Mitigations

Modification: CWE Content Team · MITRE · 2009-05-27 · CWE 1.4

updated Related_Attack_Patterns

Modification: CWE Content Team · MITRE · 2009-07-27 · CWE 1.5

updated Relationships

Modification: CWE Content Team · MITRE · 2009-10-29 · CWE 1.6

updated Common_Consequences, Demonstrative_Examples, Maintenance_Notes, Modes_of_Introduction, Observed_Examples, Relationships, Research_Gaps, Terminology_Notes

Modification: CWE Content Team · MITRE · 2009-12-28 · CWE 1.7

updated Applicable_Platforms, Demonstrative_Examples, Detection_Factors

Modification: CWE Content Team · MITRE · 2010-02-16 · CWE 1.8

updated Detection_Factors, Potential_Mitigations, References, Taxonomy_Mappings

Modification: CWE Content Team · MITRE · 2010-04-05 · CWE 1.8.1

updated Related_Attack_Patterns

Modification: CWE Content Team · MITRE · 2010-06-21 · CWE 1.9

updated Potential_Mitigations, Research_Gaps, Terminology_Notes

Modification: CWE Content Team · MITRE · 2010-09-27 · CWE 1.10

updated Potential_Mitigations, Relationships

Modification: CWE Content Team · MITRE · 2010-12-13 · CWE 1.11

updated Demonstrative_Examples, Description

Modification: CWE Content Team · MITRE · 2011-03-29 · CWE 1.12

updated Observed_Examples

Modification: CWE Content Team · MITRE · 2011-06-01 · CWE 1.13

updated Applicable_Platforms, Common_Consequences, Relationship_Notes

Modification: CWE Content Team · MITRE · 2011-09-13 · CWE 2.1

updated Relationships, Taxonomy_Mappings

Modification: CWE Content Team · MITRE · 2012-05-11 · CWE 2.2

updated Demonstrative_Examples, References, Related_Attack_Patterns, Relationships

Modification: CWE Content Team · MITRE · 2012-10-30 · CWE 2.3

updated Potential_Mitigations

Modification: CWE Content Team · MITRE · 2013-02-21 · CWE 2.4

updated Relationships

Modification: CWE Content Team · MITRE · 2013-07-17 · CWE 2.5

updated Relationships

Modification: CWE Content Team · MITRE · 2014-02-18 · CWE 2.6

updated Demonstrative_Examples, Related_Attack_Patterns

Modification: CWE Content Team · MITRE · 2014-07-30 · CWE 2.8

updated Detection_Factors, Relationships, Taxonomy_Mappings

Modification: CWE Content Team · MITRE · 2015-12-07 · CWE 2.9

updated Relationships

Modification: CWE Content Team · MITRE · 2017-01-19 · CWE 2.10

updated Related_Attack_Patterns, Relationships

Modification: CWE Content Team · MITRE · 2017-05-03 · CWE 2.11

updated Related_Attack_Patterns, Relationships

Modification: CWE Content Team · MITRE · 2017-11-08 · CWE 3.0

updated Modes_of_Introduction, References, Relationships, Taxonomy_Mappings

Modification: CWE Content Team · MITRE · 2018-03-27 · CWE 3.1

updated References

Modification: CWE Content Team · MITRE · 2019-01-03 · CWE 3.2

updated Related_Attack_Patterns, Relationships

Modification: CWE Content Team · MITRE · 2019-06-20 · CWE 3.3

updated Related_Attack_Patterns, Relationships

Modification: CWE Content Team · MITRE · 2019-09-19 · CWE 3.4

updated Relationships

Modification: CWE Content Team · MITRE · 2020-02-24 · CWE 4.0

updated Potential_Mitigations, References, Related_Attack_Patterns, Relationships

Modification: CWE Content Team · MITRE · 2020-06-25 · CWE 4.1

updated Applicable_Platforms, Demonstrative_Examples, Description, Maintenance_Notes, Observed_Examples, Potential_Mitigations, References, Relationship_Notes, Relationships, Research_Gaps, Terminology_Notes

Modification: CWE Content Team · MITRE · 2020-08-20 · CWE 4.2

updated Potential_Mitigations, Related_Attack_Patterns, Relationships

Modification: CWE Content Team · MITRE · 2021-03-15 · CWE 4.4

updated Description, Potential_Mitigations

Modification: CWE Content Team · MITRE · 2021-07-20 · CWE 4.5

updated Related_Attack_Patterns, Relationships

Modification: CWE Content Team · MITRE · 2021-10-28 · CWE 4.6

updated Relationships

Modification: CWE Content Team · MITRE · 2022-04-28 · CWE 4.7

updated Relationships

Modification: CWE Content Team · MITRE · 2022-06-28 · CWE 4.8

updated Observed_Examples, Relationships

Modification: CWE Content Team · MITRE · 2022-10-13 · CWE 4.9

updated References, Relationships

Modification: CWE Content Team · MITRE · 2023-04-27 · CWE 4.11

updated References, Relationships

Modification: CWE Content Team · MITRE · 2023-06-29 · CWE 4.12

updated Mapping_Notes, Relationships

Modification: CWE Content Team · MITRE · 2023-10-26 · CWE 4.13

updated Observed_Examples

Modification: CWE Content Team · MITRE · 2024-07-16 · CWE 4.15

updated Observed_Examples

Modification: CWE Content Team · MITRE · 2024-11-19 · CWE 4.16

updated Relationships

Modification: CWE Content Team · MITRE · 2025-04-03 · CWE 4.17

updated Common_Consequences, Description, Diagram, Mapping_Notes, Potential_Mitigations, Relationship_Notes, Terminology_Notes

Modification: CWE Content Team · MITRE · 2025-09-09 · CWE 4.18

updated Detection_Factors, References

Modification: CWE Content Team · MITRE · 2025-12-11 · CWE 4.19

updated Relationships, Weakness_Ordinalities

Modification: CWE Content Team · MITRE · 2026-04-30 · CWE 4.20

updated Applicable_Platforms, Mapping_Notes

Modification: CWE Content Team · MITRE · 2026-10-28 · CWE 5.0

updated Applicable_Platforms, Description, Dimensions, Mapping_Notes, Observed_Examples, References, Relationships, Taxonomy_Mappings, Technical_Nuance

18679 vulnerabilities reference this CWE, most recent first.

CVE-2026-20715 (GCVE-0-2026-20715)

Vulnerability from cvelistv5 – Published: 2026-08-11 16:25 – Updated: 2026-08-12 15:51
VLAI
Summary
Improper input validation in some firmware for some Intel(R) Active Management Technology (Intel(R) AMT) and some Intel(R) Standard Manageability may allow a denial of service. Network adversary with an unauthenticated user combined with a low complexity attack may enable denial of service. This result may potentially occur via network access when attack requirements are present without special internal knowledge and requires no user interaction. The potential vulnerability may impact the confidentiality (none), integrity (none) and availability (high) of the vulnerable system, resulting in subsequent system confidentiality (none), integrity (none) and availability (none) impacts.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-12 15:50 UTC
CWE
  • Denial of Service
  • CWE-20 - Improper Input Validation
Assigner
intel CNA under the mitre root
CNA scorecard C 60/100 over 174 records in the last 180 days details
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-20715",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-12T15:50:52.559910Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-20",
                "description": "CWE-20 Improper Input Validation",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-12T15:51:09.376Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Intel(R) Active Management Technology (Intel(R) AMT) and some Intel(R) Standard Manageability may allow a denial of service. Network adversary with an unauthenticated user combined with a low complexity attack may enable denial of service. This result may potentially occur via network access when attack requirements are present without special internal knowledge and requires no user interaction. The potential vulnerability may impact the confidentiality (none), integrity (none) and availability (high) of the vulnerable system, resulting in subsequent system confidentiality (none), integrity (none) and availability (none) impacts.",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "See references"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Improper input validation in some firmware for some Intel(R) Active Management Technology (Intel(R) AMT) and some Intel(R) Standard Manageability may allow a denial of service. Network adversary with an unauthenticated user combined with a low complexity attack may enable denial of service. This result may potentially occur via network access when attack requirements are present without special internal knowledge and requires no user interaction. The potential vulnerability may impact the confidentiality (none), integrity (none) and availability (high) of the vulnerable system, resulting in subsequent system confidentiality (none), integrity (none) and availability (none) impacts."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "NETWORK",
            "baseScore": 8.2,
            "baseSeverity": "HIGH",
            "privilegesRequired": "NONE",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "HIGH",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "Denial of Service",
              "lang": "en"
            },
            {
              "cweId": "CWE-20",
              "description": "Improper Input Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-11T16:25:25.621Z",
        "orgId": "6dda929c-bb53-4a77-a76d-48e79601a1ce",
        "shortName": "intel"
      },
      "references": [
        {
          "name": "https://intel.com/content/www/us/en/security-center/advisory/intel-sa-01427.html",
          "url": "https://intel.com/content/www/us/en/security-center/advisory/intel-sa-01427.html"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6dda929c-bb53-4a77-a76d-48e79601a1ce",
    "assignerShortName": "intel",
    "cveId": "CVE-2026-20715",
    "datePublished": "2026-08-11T16:25:25.621Z",
    "dateReserved": "2025-12-03T17:58:55.227Z",
    "dateUpdated": "2026-08-12T15:51:09.376Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

GCVE-1-2026-20458 (CVE-2026-137888)

Vulnerability from gna-1 – Published: 2026-11-27 11:02 – Updated: 2026-11-30 06:33
VLAI
Title
Flowintel SSRF via Unvalidated HedgeDoc Note URL in Case Notes Download
Summary
Flowintel contains a Server-Side Request Forgery (SSRF) vulnerability in its HedgeDoc case-notes integration. When a user with editor or administrator privileges associates a HedgeDoc URL with a case, the application later issues a server-side HTTP GET request to that URL to retrieve note content. Before the fix, the stored URL was used directly without validation of its scheme, host, port, path, or userinfo, and the HTTP client followed redirects by default with no connect or read timeouts. An authenticated attacker could therefore cause the Flowintel server to issue requests to arbitrary internal or external endpoints (for example, cloud instance-metadata services, internal management interfaces, or other intranet hosts) and receive the response body, or follow a redirect chain to an unintended destination. The absence of timeouts also permitted resource-exhaustion against the server's outbound connection pool. Preconditions: - An authenticated account with editor or administrator role on the target case. - The HedgeDoc integration feature is enabled (no explicit configuration gate existed before the fix). Impact: - Disclosure of sensitive data served by internal or cloud-metadata endpoints. - Potential denial of service through unbounded outbound requests. Affected versions: Flowintel prior to 4.1.0.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
Supplier · CNA (v2.0.3)
Decision recorded 2026-11-27 10:51 UTC
CWE
  • CWE-918 - Server-Side Request Forgery (SSRF)
  • CWE-20 - Improper Input Validation
Assigner
CIRCL GNA GNA-1
GNA scorecard A 93/100 over 345 records in the last 180 days details
Impacted products
Vendor Product Version
flowintel flowintel Affected: 0 , < 4.1.0 (semver)
    cpe:2.3:a:flowintel:flowintel:*:*:*:*:*:*:*:*
Create a notification for this product.
GCVE extensions
bcp-05-x-01
AI-assisted vulnerability information annotation
GCVE-BCP-05-X-01
Whole record AI-generated Human-reviewed GNA-1

Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.

ai-computer-assisted:llm-generatedai-computer-assisted:classification
Model Source Identifier
qwen3.8:27b ollama qwen3.8:27b
bcp-05-x-02
Patch-to-vulnerability generation provenance
GCVE-BCP-05-X-02
Generator
patch2vuln.py on 2026-11-27 10:51
Model
qwen3.8:27b
Input
https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00 825d08569e95…
Confidence
high
Commit Subject Patch SHA-256
f0269c3d4d4a fix: [security] Restrict HedgeDoc downloads to the configured 825d08569e95…
Fix summary

The fix introduces a mandatory HEDGEDOC_BASE_URL configuration that defines the single trusted HedgeDoc origin. All note URLs are now validated against that origin (scheme, host, port, and path prefix) at creation, update, and download time. The note identifier is restricted to a strict alphanumeric pattern, blocking path traversal. Outbound requests are issued with redirects disabled and explicit connect/read timeouts, preventing open-redirect abuse and resource exhaustion. Previously stored URLs that do not match the configured origin are rejected before any network call is made.

Patch summary

Added a HEDGEDOC_BASE_URL environment variable and app config entry. Rewrote normalize_hedgedoc_url to parse both the configured base and the supplied note URL, enforce same-origin (scheme, hostname, effective port), verify the note path is a direct child of the base path, restrict the note ID to [A-Za-z0-9._~-]+, reject userinfo and non-http(s) schemes, and return a canonical URL built from the trusted base. Changed get_hedgedoc_notes to re-validate the stored URL before fetching, set timeout=(3,10) and allow_redirects=False on the requests.get call. Added BadRequest exception handling in the change_hedgedoc_url view. Added a new test module (tests/case/test_hedgedoc.py) covering untrusted stored URLs, redirect refusal, port normalization, blank URLs, and create/update validation. Updated template.env and user-manual documentation.

CVSS rationale

AV:N – exploitable over the network via the Flowintel REST API. AC:L – no race conditions or special environment needed; setting a URL and triggering the download is straightforward. AT:N – no manipulation of a separate target system required. PR:L – requires an authenticated editor or admin account. UI:N – the attacker performs all actions; no victim interaction needed. VC:N – the Flowintel server's own data is not directly exposed. VI:N – no integrity impact on the vulnerable component. VA:L – absence of timeouts before the fix could exhaust outbound connections. SC:H – the attacker can read responses from arbitrary internal or cloud-metadata endpoints, representing high confidentiality impact on other systems. SI:N – no integrity impact on other systems. SA:N – no security-authority impact.

Weakness rationale
  • CWE-918 The application performed an outbound HTTP request to a user-supplied URL without restricting the destination origin, scheme, or redirect target, allowing an attacker to probe internal services and read their responses.
  • CWE-20 The HedgeDoc note URL was accepted without validating scheme, host, port, path traversal sequences, or userinfo, and no timeouts were applied to the resulting request.
Attack pattern rationale
  • CAPEC-12 The patch directly addresses an SSRF condition: a user-controlled URL is used as the target of a server-side HTTP GET, with no origin restriction and with redirect-following enabled. CAPEC-12 describes the pattern of manipulating an application into issuing requests to unintended targets, which is the closest standard attack pattern to this vulnerability. The mapping is confident because the code change explicitly adds origin validation, disables redirects, and adds timeouts—all canonical SSRF mitigations.
Assumptions to verify
  • PR:L assumes that an editor or admin role is required to set or trigger the HedgeDoc URL; the patch shows editor_api_key usage in tests and an is_admin() check in the view, but the exact role matrix is not fully enumerated.
  • SC:H assumes the attacker can reach at least one sensitive internal endpoint (e.g., cloud metadata at 169.254.169.254) from the Flowintel server's network; if the server is fully isolated, impact would be lower.
  • VA:L is assigned for the pre-fix absence of connect/read timeouts; the practical DoS impact depends on connection-pool limits not visible in the patch.
  • The CAPEC-12 mapping is the closest standard pattern; no more specific CAPEC for 'SSRF via stored URL in a CMS-style application' exists in the CAPEC catalog.
  • Affected version range is taken from the explicit analyst context (affected_version 0, fixed_version 4.1.0); the patch itself does not encode version boundaries.
Model comparison

Selected qwen3.8:27b by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.

Model Score Agreement Confidence Assumptions
qwen3.8:27b 8 11 high 5
bcp-05-x-03
Vulnerability handling and disclosure timeline
GCVE-BCP-05-X-03
  1. 2026-11-27 10:49 UTC Fix developed Corrective change authored (f0269c3d4d4a03c7d5290fe70316c0718982ee00): fix: [security] Restrict HedgeDoc downloads to the configured https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00
  2. 2026-11-27 10:51 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00

{
  "containers": {
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:flowintel:flowintel:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "app/case/CaseCore.py",
            "app/case/case_notes.py"
          ],
          "product": "flowintel",
          "programFiles": [],
          "repo": "https://github.com/flowintel/flowintel",
          "vendor": "flowintel",
          "versions": [
            {
              "lessThan": "4.1.0",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:flowintel:flowintel:*:*:*:*:*:*:*:*",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "David Cruciani"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "GPT-6"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "AnhCD (PTIT)"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "ChoDX (PTIT)"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Flowintel contains a Server-Side Request Forgery (SSRF) vulnerability in its HedgeDoc case-notes integration. When a user with editor or administrator privileges associates a HedgeDoc URL with a case, the application later issues a server-side HTTP GET request to that URL to retrieve note content. Before the fix, the stored URL was used directly without validation of its scheme, host, port, path, or userinfo, and the HTTP client followed redirects by default with no connect or read timeouts.\n\nAn authenticated attacker could therefore cause the Flowintel server to issue requests to arbitrary internal or external endpoints (for example, cloud instance-metadata services, internal management interfaces, or other intranet hosts) and receive the response body, or follow a redirect chain to an unintended destination. The absence of timeouts also permitted resource-exhaustion against the server\u0027s outbound connection pool.\n\nPreconditions:\n- An authenticated account with editor or administrator role on the target case.\n- The HedgeDoc integration feature is enabled (no explicit configuration gate existed before the fix).\n\nImpact:\n- Disclosure of sensitive data served by internal or cloud-metadata endpoints.\n- Potential denial of service through unbounded outbound requests.\n\nAffected versions: Flowintel prior to 4.1.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-12",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-12 Exploiting SSRF"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 6.3,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "HIGH",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "LOW",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "SSVC",
          "other": {
            "content": {
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "role": "Supplier",
              "timestamp": "2026-11-27T10:51:56Z",
              "version": "2.0.3"
            },
            "type": "SSVC"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-918",
              "description": "CWE-918 Server-Side Request Forgery (SSRF)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-20",
              "description": "CWE-20 Improper Input Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "00000000-0000-4000-8000-000000000000"
      },
      "references": [
        {
          "name": "security patch",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00"
        },
        {
          "name": "disclosure",
          "url": "https://vulnerability.circl.lu/disclosure/be9862fe-4d7b-4ace-8d67-7bc5c155227b"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "The fix introduces a mandatory HEDGEDOC_BASE_URL configuration that defines the single trusted HedgeDoc origin. All note URLs are now validated against that origin (scheme, host, port, and path prefix) at creation, update, and download time. The note identifier is restricted to a strict alphanumeric pattern, blocking path traversal. Outbound requests are issued with redirects disabled and explicit connect/read timeouts, preventing open-redirect abuse and resource exhaustion. Previously stored URLs that do not match the configured origin are rejected before any network call is made."
        }
      ],
      "title": "Flowintel SSRF via Unvalidated HedgeDoc Note URL in Case Notes Download",
      "x_gcve": [
        {
          "extensions": {
            "bcp-05-x-01": {
              "ai_annotations": [
                {
                  "ai_level": "generated",
                  "description": "Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.",
                  "gna_source": 1,
                  "models": [
                    {
                      "gna_source": 1,
                      "identifier": "qwen3.8:27b",
                      "name": "qwen3.8:27b",
                      "source": "ollama"
                    }
                  ],
                  "review_status": "full",
                  "scope": "record",
                  "tags": [
                    "ai-computer-assisted:llm-generated",
                    "ai-computer-assisted:classification"
                  ]
                }
              ]
            },
            "bcp-05-x-02": {
              "x_patch2vuln": {
                "assumptions": [
                  "PR:L assumes that an editor or admin role is required to set or trigger the HedgeDoc URL; the patch shows editor_api_key usage in tests and an is_admin() check in the view, but the exact role matrix is not fully enumerated.",
                  "SC:H assumes the attacker can reach at least one sensitive internal endpoint (e.g., cloud metadata at 169.254.169.254) from the Flowintel server\u0027s network; if the server is fully isolated, impact would be lower.",
                  "VA:L is assigned for the pre-fix absence of connect/read timeouts; the practical DoS impact depends on connection-pool limits not visible in the patch.",
                  "The CAPEC-12 mapping is the closest standard pattern; no more specific CAPEC for \u0027SSRF via stored URL in a CMS-style application\u0027 exists in the CAPEC catalog.",
                  "Affected version range is taken from the explicit analyst context (affected_version 0, fixed_version 4.1.0); the patch itself does not encode version boundaries."
                ],
                "capecRationale": [
                  {
                    "capecId": "CAPEC-12",
                    "rationale": "The patch directly addresses an SSRF condition: a user-controlled URL is used as the target of a server-side HTTP GET, with no origin restriction and with redirect-following enabled. CAPEC-12 describes the pattern of manipulating an application into issuing requests to unintended targets, which is the closest standard attack pattern to this vulnerability. The mapping is confident because the code change explicitly adds origin validation, disables redirects, and adds timeouts\u2014all canonical SSRF mitigations."
                  }
                ],
                "commit": "f0269c3d4d4a03c7d5290fe70316c0718982ee00",
                "confidence": "high",
                "credits": [
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "David Cruciani"
                  },
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "GPT-6"
                  }
                ],
                "cvssRationale": "AV:N \u2013 exploitable over the network via the Flowintel REST API. AC:L \u2013 no race conditions or special environment needed; setting a URL and triggering the download is straightforward. AT:N \u2013 no manipulation of a separate target system required. PR:L \u2013 requires an authenticated editor or admin account. UI:N \u2013 the attacker performs all actions; no victim interaction needed. VC:N \u2013 the Flowintel server\u0027s own data is not directly exposed. VI:N \u2013 no integrity impact on the vulnerable component. VA:L \u2013 absence of timeouts before the fix could exhaust outbound connections. SC:H \u2013 the attacker can read responses from arbitrary internal or cloud-metadata endpoints, representing high confidentiality impact on other systems. SI:N \u2013 no integrity impact on other systems. SA:N \u2013 no security-authority impact.",
                "fixSummary": "The fix introduces a mandatory HEDGEDOC_BASE_URL configuration that defines the single trusted HedgeDoc origin. All note URLs are now validated against that origin (scheme, host, port, and path prefix) at creation, update, and download time. The note identifier is restricted to a strict alphanumeric pattern, blocking path traversal. Outbound requests are issued with redirects disabled and explicit connect/read timeouts, preventing open-redirect abuse and resource exhaustion. Previously stored URLs that do not match the configured origin are rejected before any network call is made.",
                "generatedAt": "2026-11-27T10:51:56.310140Z",
                "generator": "patch2vuln.py",
                "model": "qwen3.8:27b",
                "modelComparison": {
                  "potentialErrors": [],
                  "rankings": [
                    {
                      "agreementScore": 11,
                      "assumptionCount": 5,
                      "confidence": "high",
                      "model": "qwen3.8:27b",
                      "score": 8
                    }
                  ],
                  "selectedModel": "qwen3.8:27b",
                  "selectionMethod": "deterministic-consensus-v1",
                  "selectionNotice": "The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."
                },
                "patchSha256": "825d08569e95c4b66c15be7b6dd33d87236dbcc1c9c7bf0aa52687a4698721e9",
                "patchSummary": "Added a HEDGEDOC_BASE_URL environment variable and app config entry. Rewrote normalize_hedgedoc_url to parse both the configured base and the supplied note URL, enforce same-origin (scheme, hostname, effective port), verify the note path is a direct child of the base path, restrict the note ID to [A-Za-z0-9._~-]+, reject userinfo and non-http(s) schemes, and return a canonical URL built from the trusted base. Changed get_hedgedoc_notes to re-validate the stored URL before fetching, set timeout=(3,10) and allow_redirects=False on the requests.get call. Added BadRequest exception handling in the change_hedgedoc_url view. Added a new test module (tests/case/test_hedgedoc.py) covering untrusted stored URLs, redirect refusal, port normalization, blank URLs, and create/update validation. Updated template.env and user-manual documentation.",
                "patchTruncated": false,
                "patches": [
                  {
                    "commit": "f0269c3d4d4a03c7d5290fe70316c0718982ee00",
                    "date": "Fri, 27 Nov 2026 11:49:27 +0100",
                    "patchSha256": "825d08569e95c4b66c15be7b6dd33d87236dbcc1c9c7bf0aa52687a4698721e9",
                    "retrievedAt": "2026-11-27T10:51:19.246969Z",
                    "source": "https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00",
                    "sourceUrl": "https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00",
                    "subject": "fix: [security] Restrict HedgeDoc downloads to the configured"
                  }
                ],
                "source": "https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00",
                "ssvc": {
                  "options": [
                    {
                      "Exploitation": "none"
                    },
                    {
                      "Automatable": "yes"
                    },
                    {
                      "Technical Impact": "partial"
                    }
                  ],
                  "role": "Supplier",
                  "timestamp": "2026-11-27T10:51:56Z",
                  "version": "2.0.3"
                },
                "subject": "fix: [security] Restrict HedgeDoc downloads to the configured",
                "weaknessRationale": [
                  {
                    "cweId": "CWE-918",
                    "rationale": "The application performed an outbound HTTP request to a user-supplied URL without restricting the destination origin, scheme, or redirect target, allowing an attacker to probe internal services and read their responses."
                  },
                  {
                    "cweId": "CWE-20",
                    "rationale": "The HedgeDoc note URL was accepted without validating scheme, host, port, path traversal sequences, or userinfo, and no timeouts were applied to the resulting request."
                  }
                ]
              }
            },
            "bcp-05-x-03": {
              "x_timeline": {
                "events": [
                  {
                    "description": "Corrective change authored (f0269c3d4d4a03c7d5290fe70316c0718982ee00): fix: [security] Restrict HedgeDoc downloads to the configured",
                    "id": "evt-fix-developed-1",
                    "references": [
                      "https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00"
                    ],
                    "timestamp": "2026-11-27T10:49:27Z",
                    "type": "fix-developed"
                  },
                  {
                    "description": "Patch retrieved from the supplied URL; retrieval time is used as the default availability time.",
                    "id": "evt-fix-available-1",
                    "references": [
                      "https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00"
                    ],
                    "timestamp": "2026-11-27T10:51:19.246969Z",
                    "type": "fix-available"
                  }
                ]
              }
            }
          },
          "recordType": "advisory",
          "vulnId": "GCVE-1-2026-20458"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "00000000-0000-4000-8000-000000000000",
    "cveId": "CVE-2026-137888",
    "datePublished": "2026-11-27T11:02:38.131034Z",
    "dateReserved": "2026-11-27T11:04:27.508Z",
    "dateUpdated": "2026-11-30T06:33:48.407531Z",
    "state": "PUBLISHED",
    "vulnId": "GCVE-1-2026-20458"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

GCVE-1-2026-20450 (CVE-2026-135259)

Vulnerability from gna-1 – Published: 2026-11-23 15:39 – Updated: 2026-11-23 15:45
VLAI
Title
MISP Auth Key Creation Type Confusion Allows Unauthorized Key for Adjacent User
Summary
MISP contains a type confusion vulnerability in the authentication key creation endpoint. When a user submits a floating-point value as the target user identifier, the authorization check truncates the value to an integer (matching the attacker's own account), while the persistence layer rounds the same value to a different integer (the next account in the sequence). This discrepancy allows an authenticated user with key-creation permission to generate an API authentication key belonging to another user. Preconditions: - The attacker must be an authenticated user with the permission to create authentication keys. - The target user must have a consecutive numeric identifier immediately following the attacker's identifier. Impact: - Unauthorized creation of an API key for another user, granting the attacker access to that user's data and operations within the MISP instance. - The vulnerability is trivially exploitable by substituting a carefully crafted floating-point value for the integer user identifier in the request. Affected versions: MISP prior to 2.5.52.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
Supplier · CNA (v2.0.3)
Decision recorded 2026-11-23 09:50 UTC
CWE
  • CWE-20 - Improper Input Validation
  • CWE-843 - Access Control Bypass
Assigner
CIRCL GNA GNA-1
GNA scorecard A 93/100 over 345 records in the last 180 days details
References
Impacted products
Vendor Product Version
MISP MISP Affected: 0 , < 2.5.52 (semver)
    cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*
Create a notification for this product.
GCVE extensions
bcp-05-x-01
AI-assisted vulnerability information annotation
GCVE-BCP-05-X-01
Whole record AI-generated Human-reviewed GNA-1

Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.

ai-computer-assisted:llm-generatedai-computer-assisted:classification
Model Source Identifier
qwen3.8:27b ollama qwen3.8:27b
bcp-05-x-02
Patch-to-vulnerability generation provenance
GCVE-BCP-05-X-02
Generator
patch2vuln.py on 2026-11-23 09:50
Model
qwen3.8:27b
Input
https://github.com/MISP/MISP/commit/6298e281ea5c35ba134dd13c1d37f1098cf393ac 0ae39490cfd6…
Confidence
high
Commit Subject Patch SHA-256
6298e281ea5c fix: [security] Auth keys are created only for an integer 0ae39490cfd6…
Fix summary

The fix enforces strict type validation on the user identifier parameter in both the controller and the model layer. Only native integers or digit-only strings are accepted; any other type (including floating-point numbers) is rejected with an authorization error before the value reaches the persistence layer. This eliminates the discrepancy between the authorization check and the storage layer, preventing the type confusion from being exploited.

Patch summary

In AuthKeysController::add(), a guard clause is added before the existing authorization logic that rejects any user_id that is neither a native PHP integer nor a string consisting solely of digits (ctype_digit), throwing a MethodNotAllowedException. The value is then explicitly cast to int. In AuthKey::canCreateAuthKeyForUser(), an identical type check is added for non-site-admin users, returning false if the user_id is not an integer or digit string. A regression test class (AuthKeyAddCanonicalUserId) is added to tests/testregressions.py that verifies: (1) a float user_id that truncates to the attacker's ID but rounds to the next user's ID is rejected with HTTP 400+, (2) legitimate integer and digit-string forms still work, and (3) a plain integer for another user is still refused by the existing authorization logic.

CVSS rationale

AV:N - MISP is a web application accessible over the network. AC:L - exploitation requires only substituting a float for an integer in a single parameter; no race conditions or special timing. AT:N - no manipulation of the target environment is needed. PR:L - the attacker must be an authenticated user with the permission to create auth keys (perm_auth). UI:N - no victim interaction is required. VC:L - the attacker obtains an API key for another user, exposing that user's data. VI:L - an unauthorized auth key is created, representing a limited integrity violation. VA:N - no meaningful availability impact. SC/SI/SA:N - the impact is confined to the MISP instance; no cross-component impact is evidenced.

Weakness rationale
  • CWE-20 The root cause is that the user_id parameter accepts a floating-point value where only an integer should be permitted. The authorization check and the persistence layer interpret the float differently, but the fundamental weakness is the failure to validate and reject non-integer input types at the boundary.
  • CWE-843 The practical security impact is a bypass of the authorization check: the (int) cast in the permission check matches the attacker's own ID, while the ORM saves a different ID, effectively granting access to another user's resources without proper authorization.
Attack pattern rationale
  • CAPEC-15 The vulnerability is directly caused by a floating-point value being accepted where an integer is expected. The float passes an integer-truncation check but is stored with floating-point rounding that produces a different integer. This is a textbook case of floating-point precision/type handling causing an unintended security outcome. The mapping is a close fit because the core mechanism is the discrepancy in how a float is interpreted by two different code paths.
  • CAPEC-110 The attacker tampers with the user_id parameter by supplying a crafted floating-point value instead of the expected integer, exploiting the type-handling inconsistency. This is a secondary mapping; the primary mechanism is the floating-point precision issue (CAPEC-15), but the attack vector is parameter manipulation.
Assumptions to verify
  • The affected version range is inferred from the explicit context (fixed in 2.5.52); the patch itself does not enumerate all prior affected versions.
  • PR:L assumes the attacker needs only the standard perm_auth role; the patch does not specify whether additional roles or configurations are required.
  • CAPEC-15 is the closest available mapping; the vulnerability is more precisely a type-confusion between integer and float handling rather than a pure precision-excess issue, but no CAPEC entry specifically covers integer/float type confusion in authorization checks.
  • The CVSS impact metrics (VC:L, VI:L) assume the attacker gains meaningful access to the adjacent user's data; the actual scope of data accessible depends on the target user's role and permissions, which are not specified in the patch.
  • The Co-Authored-By line references Claude Opus 5.5 as an AI assistant; it is not credited as a person or organization.
Model comparison

Selected qwen3.8:27b by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.

Model Score Agreement Confidence Assumptions
qwen3.8:27b 8 11 high 5
bcp-05-x-03
Vulnerability handling and disclosure timeline
GCVE-BCP-05-X-03
  1. 2026-11-17 18:48 UTC Fix developed Corrective change authored (6298e281ea5c35ba134dd13c1d37f1098cf393ac): fix: [security] Auth keys are created only for an integer https://github.com/MISP/MISP/commit/6298e281ea5c35ba134dd13c1d37f1098cf393ac
  2. 2026-11-23 09:50 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/MISP/MISP/commit/6298e281ea5c35ba134dd13c1d37f1098cf393ac

{
  "containers": {
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "AuthKeysController",
            "AuthKey model"
          ],
          "product": "MISP",
          "programFiles": [
            "app/Controller/AuthKeysController.php",
            "app/Model/AuthKey.php"
          ],
          "repo": "https://github.com/MISP/MISP",
          "vendor": "MISP",
          "versions": [
            {
              "lessThan": "2.5.52",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "Francois-Xavier Stellamans from the NATO Cyber Security Centre with OpenAI Daybreak support (using GPT5.6-Cyber)"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "iglocska"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Claude Opus 5.5"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "MISP contains a type confusion vulnerability in the authentication key creation endpoint. When a user submits a floating-point value as the target user identifier, the authorization check truncates the value to an integer (matching the attacker\u0027s own account), while the persistence layer rounds the same value to a different integer (the next account in the sequence). This discrepancy allows an authenticated user with key-creation permission to generate an API authentication key belonging to another user.\n\nPreconditions:\n- The attacker must be an authenticated user with the permission to create authentication keys.\n- The target user must have a consecutive numeric identifier immediately following the attacker\u0027s identifier.\n\nImpact:\n- Unauthorized creation of an API key for another user, granting the attacker access to that user\u0027s data and operations within the MISP instance.\n- The vulnerability is trivially exploitable by substituting a carefully crafted floating-point value for the integer user identifier in the request.\n\nAffected versions: MISP prior to 2.5.52."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-15",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-15 Using Excessive Floating Point Precision"
            }
          ]
        },
        {
          "capecId": "CAPEC-110",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-110 Parameter Tampering"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "LOW",
            "vulnIntegrityImpact": "LOW",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "SSVC",
          "other": {
            "content": {
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "role": "Supplier",
              "timestamp": "2026-11-23T09:50:47Z",
              "version": "2.0.3"
            },
            "type": "SSVC"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-20",
              "description": "CWE-20 Improper Input Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-843",
              "description": "CWE-843 Access Control Bypass",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "00000000-0000-4000-8000-000000000000"
      },
      "references": [
        {
          "name": "Security patch",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/MISP/MISP/commit/6298e281ea5c35ba134dd13c1d37f1098cf393ac"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "The fix enforces strict type validation on the user identifier parameter in both the controller and the model layer. Only native integers or digit-only strings are accepted; any other type (including floating-point numbers) is rejected with an authorization error before the value reaches the persistence layer. This eliminates the discrepancy between the authorization check and the storage layer, preventing the type confusion from being exploited."
        }
      ],
      "title": "MISP Auth Key Creation Type Confusion Allows Unauthorized Key for Adjacent User",
      "x_gcve": [
        {
          "extensions": {
            "bcp-05-x-01": {
              "ai_annotations": [
                {
                  "ai_level": "generated",
                  "description": "Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.",
                  "gna_source": 1,
                  "models": [
                    {
                      "gna_source": 1,
                      "identifier": "qwen3.8:27b",
                      "name": "qwen3.8:27b",
                      "source": "ollama"
                    }
                  ],
                  "review_status": "full",
                  "scope": "record",
                  "tags": [
                    "ai-computer-assisted:llm-generated",
                    "ai-computer-assisted:classification"
                  ]
                }
              ]
            },
            "bcp-05-x-02": {
              "x_patch2vuln": {
                "assumptions": [
                  "The affected version range is inferred from the explicit context (fixed in 2.5.52); the patch itself does not enumerate all prior affected versions.",
                  "PR:L assumes the attacker needs only the standard perm_auth role; the patch does not specify whether additional roles or configurations are required.",
                  "CAPEC-15 is the closest available mapping; the vulnerability is more precisely a type-confusion between integer and float handling rather than a pure precision-excess issue, but no CAPEC entry specifically covers integer/float type confusion in authorization checks.",
                  "The CVSS impact metrics (VC:L, VI:L) assume the attacker gains meaningful access to the adjacent user\u0027s data; the actual scope of data accessible depends on the target user\u0027s role and permissions, which are not specified in the patch.",
                  "The Co-Authored-By line references Claude Opus 5.5 as an AI assistant; it is not credited as a person or organization."
                ],
                "capecRationale": [
                  {
                    "capecId": "CAPEC-15",
                    "rationale": "The vulnerability is directly caused by a floating-point value being accepted where an integer is expected. The float passes an integer-truncation check but is stored with floating-point rounding that produces a different integer. This is a textbook case of floating-point precision/type handling causing an unintended security outcome. The mapping is a close fit because the core mechanism is the discrepancy in how a float is interpreted by two different code paths."
                  },
                  {
                    "capecId": "CAPEC-110",
                    "rationale": "The attacker tampers with the user_id parameter by supplying a crafted floating-point value instead of the expected integer, exploiting the type-handling inconsistency. This is a secondary mapping; the primary mechanism is the floating-point precision issue (CAPEC-15), but the attack vector is parameter manipulation."
                  }
                ],
                "commit": "6298e281ea5c35ba134dd13c1d37f1098cf393ac",
                "confidence": "high",
                "credits": [
                  {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Francois-Xavier Stellamans from the NATO Cyber Security Centre with OpenAI Daybreak support (using GPT5.6-Cyber)"
                  },
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "iglocska"
                  },
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Claude Opus 5.5"
                  }
                ],
                "cvssRationale": "AV:N - MISP is a web application accessible over the network. AC:L - exploitation requires only substituting a float for an integer in a single parameter; no race conditions or special timing. AT:N - no manipulation of the target environment is needed. PR:L - the attacker must be an authenticated user with the permission to create auth keys (perm_auth). UI:N - no victim interaction is required. VC:L - the attacker obtains an API key for another user, exposing that user\u0027s data. VI:L - an unauthorized auth key is created, representing a limited integrity violation. VA:N - no meaningful availability impact. SC/SI/SA:N - the impact is confined to the MISP instance; no cross-component impact is evidenced.",
                "fixSummary": "The fix enforces strict type validation on the user identifier parameter in both the controller and the model layer. Only native integers or digit-only strings are accepted; any other type (including floating-point numbers) is rejected with an authorization error before the value reaches the persistence layer. This eliminates the discrepancy between the authorization check and the storage layer, preventing the type confusion from being exploited.",
                "generatedAt": "2026-11-23T09:50:47.732313Z",
                "generator": "patch2vuln.py",
                "model": "qwen3.8:27b",
                "modelComparison": {
                  "potentialErrors": [],
                  "rankings": [
                    {
                      "agreementScore": 11,
                      "assumptionCount": 5,
                      "confidence": "high",
                      "model": "qwen3.8:27b",
                      "score": 8
                    }
                  ],
                  "selectedModel": "qwen3.8:27b",
                  "selectionMethod": "deterministic-consensus-v1",
                  "selectionNotice": "The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."
                },
                "patchSha256": "0ae39490cfd62c401e125bcff4e30806701e0af26cd8fe1923dde7209606dbf2",
                "patchSummary": "In AuthKeysController::add(), a guard clause is added before the existing authorization logic that rejects any user_id that is neither a native PHP integer nor a string consisting solely of digits (ctype_digit), throwing a MethodNotAllowedException. The value is then explicitly cast to int. In AuthKey::canCreateAuthKeyForUser(), an identical type check is added for non-site-admin users, returning false if the user_id is not an integer or digit string. A regression test class (AuthKeyAddCanonicalUserId) is added to tests/testregressions.py that verifies: (1) a float user_id that truncates to the attacker\u0027s ID but rounds to the next user\u0027s ID is rejected with HTTP 400+, (2) legitimate integer and digit-string forms still work, and (3) a plain integer for another user is still refused by the existing authorization logic.",
                "patchTruncated": false,
                "patches": [
                  {
                    "commit": "6298e281ea5c35ba134dd13c1d37f1098cf393ac",
                    "date": "Tue, 17 Nov 2026 19:48:00 +0100",
                    "patchSha256": "0ae39490cfd62c401e125bcff4e30806701e0af26cd8fe1923dde7209606dbf2",
                    "retrievedAt": "2026-11-23T09:50:16.711654Z",
                    "source": "https://github.com/MISP/MISP/commit/6298e281ea5c35ba134dd13c1d37f1098cf393ac",
                    "sourceUrl": "https://github.com/MISP/MISP/commit/6298e281ea5c35ba134dd13c1d37f1098cf393ac",
                    "subject": "fix: [security] Auth keys are created only for an integer"
                  }
                ],
                "source": "https://github.com/MISP/MISP/commit/6298e281ea5c35ba134dd13c1d37f1098cf393ac",
                "ssvc": {
                  "options": [
                    {
                      "Exploitation": "none"
                    },
                    {
                      "Automatable": "yes"
                    },
                    {
                      "Technical Impact": "partial"
                    }
                  ],
                  "role": "Supplier",
                  "timestamp": "2026-11-23T09:50:47Z",
                  "version": "2.0.3"
                },
                "subject": "fix: [security] Auth keys are created only for an integer",
                "weaknessRationale": [
                  {
                    "cweId": "CWE-20",
                    "rationale": "The root cause is that the user_id parameter accepts a floating-point value where only an integer should be permitted. The authorization check and the persistence layer interpret the float differently, but the fundamental weakness is the failure to validate and reject non-integer input types at the boundary."
                  },
                  {
                    "cweId": "CWE-843",
                    "rationale": "The practical security impact is a bypass of the authorization check: the (int) cast in the permission check matches the attacker\u0027s own ID, while the ORM saves a different ID, effectively granting access to another user\u0027s resources without proper authorization."
                  }
                ]
              }
            },
            "bcp-05-x-03": {
              "x_timeline": {
                "events": [
                  {
                    "description": "Corrective change authored (6298e281ea5c35ba134dd13c1d37f1098cf393ac): fix: [security] Auth keys are created only for an integer",
                    "id": "evt-fix-developed-1",
                    "references": [
                      "https://github.com/MISP/MISP/commit/6298e281ea5c35ba134dd13c1d37f1098cf393ac"
                    ],
                    "timestamp": "2026-11-17T18:48:00Z",
                    "type": "fix-developed"
                  },
                  {
                    "description": "Patch retrieved from the supplied URL; retrieval time is used as the default availability time.",
                    "id": "evt-fix-available-1",
                    "references": [
                      "https://github.com/MISP/MISP/commit/6298e281ea5c35ba134dd13c1d37f1098cf393ac"
                    ],
                    "timestamp": "2026-11-23T09:50:16.711654Z",
                    "type": "fix-available"
                  }
                ]
              }
            }
          },
          "recordType": "advisory",
          "vulnId": "GCVE-1-2026-20450"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "00000000-0000-4000-8000-000000000000",
    "cveId": "CVE-2026-135259",
    "datePublished": "2026-11-23T15:39:19.580065Z",
    "dateReserved": "2026-11-23T15:45:23.613Z",
    "dateUpdated": "2026-11-23T15:45:23.763444Z",
    "state": "PUBLISHED",
    "vulnId": "GCVE-1-2026-20450"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

GCVE-1-2026-20441 (CVE-2026-135248)

Vulnerability from gna-1 – Published: 2026-11-23 15:38 – Updated: 2026-11-23 15:42
VLAI
Title
MISP Password Reset Link Host Header Injection Enables Phishing via Untrusted Base URL
Summary
MISP contains a vulnerability in its password reset (forgot password) functionality where the base URL used to construct the reset link sent by email could be derived from the HTTP request's Host header rather than from an explicitly configured value. An unauthenticated attacker can send a crafted request with a malicious Host header. If the application's base URL was not explicitly configured (MISP.baseurl or MISP.external_baseurl), the bootstrap would derive it from the request, and the resulting password reset email would contain a link pointing to the attacker-controlled domain. When the victim clicks the link, they are directed to the attacker's site, enabling credential phishing or token theft. Preconditions: - The password reset feature (allow_password_forgotten) is enabled - MISP.baseurl and MISP.external_baseurl are not explicitly set to trusted values - The victim initiates or is targeted for a password reset Impact: - Phishing: victim is redirected to an attacker-controlled URL instead of the legitimate MISP instance - Potential credential compromise if the victim enters credentials on the attacker's site - No direct compromise of the MISP server itself Affected: MISP versions prior to 2.5.52
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
Supplier · CNA (v2.0.3)
Decision recorded 2026-11-23 09:45 UTC
CWE
Assigner
CIRCL GNA GNA-1
GNA scorecard A 93/100 over 345 records in the last 180 days details
References
Impacted products
Vendor Product Version
MISP MISP Affected: 0 , < 2.5.52 (semver)
    cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*
Create a notification for this product.
GCVE extensions
bcp-05-x-01
AI-assisted vulnerability information annotation
GCVE-BCP-05-X-01
Whole record AI-generated Human-reviewed GNA-1

Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.

ai-computer-assisted:llm-generatedai-computer-assisted:classification
Model Source Identifier
qwen3.8:27b ollama qwen3.8:27b
bcp-05-x-02
Patch-to-vulnerability generation provenance
GCVE-BCP-05-X-02
Generator
patch2vuln.py on 2026-11-23 09:45
Model
qwen3.8:27b
Input
https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b 277b636cb23f…
Confidence
medium
Commit Subject Patch SHA-256
75a0a43ddef0 fix: [security] Password reset links are built only from a 277b636cb23f…
Fix summary

The fix ensures that password reset links are constructed exclusively from explicitly configured base URLs (MISP.baseurl or MISP.external_baseurl). A new internal flag (BaseurlFromRequest) marks base URLs derived from the HTTP request as untrusted for outbound mail. If no trusted base URL is available, the reset email is not sent and an error is logged. An empty external_baseurl now correctly falls back to the configured baseurl rather than the request-derived value.

Patch summary

In bootstrap.default.php, a new Configure key 'BaseurlFromRequest' is set to true when the base URL is derived from SERVER_NAME/SERVER_PORT. In User.php (forgot method), the base URL resolution logic is replaced: it first checks MISP.external_baseurl, then checks if BaseurlFromRequest is true (in which case it refuses to send the email and logs an error), otherwise falls back to MISP.baseurl. If no valid base URL is found, the function returns false without sending mail. Server.php updates the setting description to document the new requirement. A new test file (PasswordResetBaseurlTest.php) with six test cases validates all base URL resolution scenarios including request-derived rejection, configured URL usage, external URL preference, and empty-external fallback.

CVSS rationale

AV:N: The attack is performed over the network via a crafted HTTP request. AC:L: The attacker only needs to send a request with a modified Host header; no race conditions or complex timing required. AT:N: No need to bypass or prepare against specific mitigations. PR:N: The forgot-password endpoint is accessible without authentication. UI:A: The victim must actively click the malicious link in the received email for the attack to succeed. VC/VI/VA:N: The MISP server itself is not directly compromised; no data is exfiltrated from or modified on the server. SC:L: The subsequent impact is on the user, whose credentials may be phished via the attacker-controlled URL. SI/SA:N: No integrity or availability impact on the user or their systems beyond the potential credential theft captured in SC.

Weakness rationale
  • CWE-601 The password reset link's base URL could be influenced by the attacker-controlled Host header, effectively creating an open redirect in the email link to an attacker-chosen domain. The application did not validate that the base URL used for outbound links was a trusted, configured value.
  • CWE-20 The application accepted and used the HTTP Host header value (via SERVER_NAME) to construct outbound URLs without validating that it matched a trusted, pre-configured domain. The request-derived value was treated as equally authoritative as an administrator-configured setting.
Attack pattern rationale
  • CAPEC-60 The attacker leverages the application's processing of the Host header (executable content in the sense that it is interpreted and used to generate an outbound URL) to redirect the password reset link to an attacker-controlled domain. This is the closest CAPEC to a Host header injection / open redirect in an outbound email context. Uncertainty: no CAPEC specifically covers Host header manipulation for outbound link construction; CAPEC-60 is selected as the best available match describing an attacker exploiting application-processed input to achieve an unintended output.
Assumptions to verify
  • The forgot-password endpoint is accessible without authentication; this is inferred from the method signature (takes email and IP) and the feature description, but no explicit authentication check is visible in the patch.
  • The affected version range is assumed to be all versions prior to 2.5.52; the explicit context lists affected_version as '0' which is treated as a placeholder for 'all prior versions'.
  • CAPEC-60 is selected as the closest plausible attack pattern; no CAPEC specifically addresses Host header injection for outbound link construction, so this mapping carries uncertainty.
  • The CVSS SC:L rating assumes the primary impact is potential credential phishing of the end user; if the attacker could also forge the reset token flow to directly set a password, the impact could be higher, but the patch evidence does not confirm that scenario.
  • AT:N is assumed because the attacker does not need to set up special infrastructure beyond having a domain to receive the redirected traffic; this is a minimal requirement inherent to any phishing attack.
Model comparison

Selected qwen3.8:27b by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.

Model Score Agreement Confidence Assumptions
qwen3.8:27b 7 11 medium 5
bcp-05-x-03
Vulnerability handling and disclosure timeline
GCVE-BCP-05-X-03
  1. 2026-11-16 16:19 UTC Fix developed Corrective change authored (75a0a43ddef08e3b48df303891cf235a624e594b): fix: [security] Password reset links are built only from a https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b
  2. 2026-11-23 09:44 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b

{
  "containers": {
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "app/Model/User.php",
            "app/Config/bootstrap.default.php"
          ],
          "product": "MISP",
          "programFiles": [],
          "repo": "https://github.com/MISP/MISP",
          "vendor": "MISP",
          "versions": [
            {
              "lessThan": "2.5.52",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "ENISA"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "iglocska"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Claude Opus 5.5"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "MISP contains a vulnerability in its password reset (forgot password) functionality where the base URL used to construct the reset link sent by email could be derived from the HTTP request\u0027s Host header rather than from an explicitly configured value.\n\nAn unauthenticated attacker can send a crafted request with a malicious Host header. If the application\u0027s base URL was not explicitly configured (MISP.baseurl or MISP.external_baseurl), the bootstrap would derive it from the request, and the resulting password reset email would contain a link pointing to the attacker-controlled domain. When the victim clicks the link, they are directed to the attacker\u0027s site, enabling credential phishing or token theft.\n\nPreconditions:\n- The password reset feature (allow_password_forgotten) is enabled\n- MISP.baseurl and MISP.external_baseurl are not explicitly set to trusted values\n- The victim initiates or is targeted for a password reset\n\nImpact:\n- Phishing: victim is redirected to an attacker-controlled URL instead of the legitimate MISP instance\n- Potential credential compromise if the victim enters credentials on the attacker\u0027s site\n- No direct compromise of the MISP server itself\n\nAffected: MISP versions prior to 2.5.52"
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-60",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-60 Leverage Executable Content"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 5.1,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "LOW",
            "subIntegrityImpact": "NONE",
            "userInteraction": "ACTIVE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "SSVC",
          "other": {
            "content": {
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "role": "Supplier",
              "timestamp": "2026-11-23T09:45:35Z",
              "version": "2.0.3"
            },
            "type": "SSVC"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-601",
              "description": "CWE-601 Open Redirect",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-20",
              "description": "CWE-20 Improper Input Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "00000000-0000-4000-8000-000000000000"
      },
      "references": [
        {
          "name": "Security patch",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "The fix ensures that password reset links are constructed exclusively from explicitly configured base URLs (MISP.baseurl or MISP.external_baseurl). A new internal flag (BaseurlFromRequest) marks base URLs derived from the HTTP request as untrusted for outbound mail. If no trusted base URL is available, the reset email is not sent and an error is logged. An empty external_baseurl now correctly falls back to the configured baseurl rather than the request-derived value."
        }
      ],
      "title": "MISP Password Reset Link Host Header Injection Enables Phishing via Untrusted Base URL",
      "x_gcve": [
        {
          "extensions": {
            "bcp-05-x-01": {
              "ai_annotations": [
                {
                  "ai_level": "generated",
                  "description": "Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.",
                  "gna_source": 1,
                  "models": [
                    {
                      "gna_source": 1,
                      "identifier": "qwen3.8:27b",
                      "name": "qwen3.8:27b",
                      "source": "ollama"
                    }
                  ],
                  "review_status": "full",
                  "scope": "record",
                  "tags": [
                    "ai-computer-assisted:llm-generated",
                    "ai-computer-assisted:classification"
                  ]
                }
              ]
            },
            "bcp-05-x-02": {
              "x_patch2vuln": {
                "assumptions": [
                  "The forgot-password endpoint is accessible without authentication; this is inferred from the method signature (takes email and IP) and the feature description, but no explicit authentication check is visible in the patch.",
                  "The affected version range is assumed to be all versions prior to 2.5.52; the explicit context lists affected_version as \u00270\u0027 which is treated as a placeholder for \u0027all prior versions\u0027.",
                  "CAPEC-60 is selected as the closest plausible attack pattern; no CAPEC specifically addresses Host header injection for outbound link construction, so this mapping carries uncertainty.",
                  "The CVSS SC:L rating assumes the primary impact is potential credential phishing of the end user; if the attacker could also forge the reset token flow to directly set a password, the impact could be higher, but the patch evidence does not confirm that scenario.",
                  "AT:N is assumed because the attacker does not need to set up special infrastructure beyond having a domain to receive the redirected traffic; this is a minimal requirement inherent to any phishing attack."
                ],
                "capecRationale": [
                  {
                    "capecId": "CAPEC-60",
                    "rationale": "The attacker leverages the application\u0027s processing of the Host header (executable content in the sense that it is interpreted and used to generate an outbound URL) to redirect the password reset link to an attacker-controlled domain. This is the closest CAPEC to a Host header injection / open redirect in an outbound email context. Uncertainty: no CAPEC specifically covers Host header manipulation for outbound link construction; CAPEC-60 is selected as the best available match describing an attacker exploiting application-processed input to achieve an unintended output."
                  }
                ],
                "commit": "75a0a43ddef08e3b48df303891cf235a624e594b",
                "confidence": "medium",
                "credits": [
                  {
                    "lang": "en",
                    "type": "reporter",
                    "value": "ENISA"
                  },
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "iglocska"
                  },
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Claude Opus 5.5"
                  },
                  {
                    "lang": "en",
                    "type": "tool",
                    "value": "Claude Opus 5.5"
                  }
                ],
                "cvssRationale": "AV:N: The attack is performed over the network via a crafted HTTP request. AC:L: The attacker only needs to send a request with a modified Host header; no race conditions or complex timing required. AT:N: No need to bypass or prepare against specific mitigations. PR:N: The forgot-password endpoint is accessible without authentication. UI:A: The victim must actively click the malicious link in the received email for the attack to succeed. VC/VI/VA:N: The MISP server itself is not directly compromised; no data is exfiltrated from or modified on the server. SC:L: The subsequent impact is on the user, whose credentials may be phished via the attacker-controlled URL. SI/SA:N: No integrity or availability impact on the user or their systems beyond the potential credential theft captured in SC.",
                "fixSummary": "The fix ensures that password reset links are constructed exclusively from explicitly configured base URLs (MISP.baseurl or MISP.external_baseurl). A new internal flag (BaseurlFromRequest) marks base URLs derived from the HTTP request as untrusted for outbound mail. If no trusted base URL is available, the reset email is not sent and an error is logged. An empty external_baseurl now correctly falls back to the configured baseurl rather than the request-derived value.",
                "generatedAt": "2026-11-23T09:45:35.757528Z",
                "generator": "patch2vuln.py",
                "model": "qwen3.8:27b",
                "modelComparison": {
                  "potentialErrors": [],
                  "rankings": [
                    {
                      "agreementScore": 11,
                      "assumptionCount": 5,
                      "confidence": "medium",
                      "model": "qwen3.8:27b",
                      "score": 7
                    }
                  ],
                  "selectedModel": "qwen3.8:27b",
                  "selectionMethod": "deterministic-consensus-v1",
                  "selectionNotice": "The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."
                },
                "patchSha256": "277b636cb23fc53d70e44584690cb4940fa9438c10a82c0108eb534d63794b56",
                "patchSummary": "In bootstrap.default.php, a new Configure key \u0027BaseurlFromRequest\u0027 is set to true when the base URL is derived from SERVER_NAME/SERVER_PORT. In User.php (forgot method), the base URL resolution logic is replaced: it first checks MISP.external_baseurl, then checks if BaseurlFromRequest is true (in which case it refuses to send the email and logs an error), otherwise falls back to MISP.baseurl. If no valid base URL is found, the function returns false without sending mail. Server.php updates the setting description to document the new requirement. A new test file (PasswordResetBaseurlTest.php) with six test cases validates all base URL resolution scenarios including request-derived rejection, configured URL usage, external URL preference, and empty-external fallback.",
                "patchTruncated": false,
                "patches": [
                  {
                    "commit": "75a0a43ddef08e3b48df303891cf235a624e594b",
                    "date": "Mon, 16 Nov 2026 17:19:04 +0100",
                    "patchSha256": "277b636cb23fc53d70e44584690cb4940fa9438c10a82c0108eb534d63794b56",
                    "retrievedAt": "2026-11-23T09:44:51.478700Z",
                    "source": "https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b",
                    "sourceUrl": "https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b",
                    "subject": "fix: [security] Password reset links are built only from a"
                  }
                ],
                "source": "https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b",
                "ssvc": {
                  "options": [
                    {
                      "Exploitation": "none"
                    },
                    {
                      "Automatable": "yes"
                    },
                    {
                      "Technical Impact": "partial"
                    }
                  ],
                  "role": "Supplier",
                  "timestamp": "2026-11-23T09:45:35Z",
                  "version": "2.0.3"
                },
                "subject": "fix: [security] Password reset links are built only from a",
                "weaknessRationale": [
                  {
                    "cweId": "CWE-601",
                    "rationale": "The password reset link\u0027s base URL could be influenced by the attacker-controlled Host header, effectively creating an open redirect in the email link to an attacker-chosen domain. The application did not validate that the base URL used for outbound links was a trusted, configured value."
                  },
                  {
                    "cweId": "CWE-20",
                    "rationale": "The application accepted and used the HTTP Host header value (via SERVER_NAME) to construct outbound URLs without validating that it matched a trusted, pre-configured domain. The request-derived value was treated as equally authoritative as an administrator-configured setting."
                  }
                ]
              }
            },
            "bcp-05-x-03": {
              "x_timeline": {
                "events": [
                  {
                    "description": "Corrective change authored (75a0a43ddef08e3b48df303891cf235a624e594b): fix: [security] Password reset links are built only from a",
                    "id": "evt-fix-developed-1",
                    "references": [
                      "https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b"
                    ],
                    "timestamp": "2026-11-16T16:19:04Z",
                    "type": "fix-developed"
                  },
                  {
                    "description": "Patch retrieved from the supplied URL; retrieval time is used as the default availability time.",
                    "id": "evt-fix-available-1",
                    "references": [
                      "https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b"
                    ],
                    "timestamp": "2026-11-23T09:44:51.478700Z",
                    "type": "fix-available"
                  }
                ]
              }
            }
          },
          "recordType": "advisory",
          "vulnId": "GCVE-1-2026-20441"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "00000000-0000-4000-8000-000000000000",
    "cveId": "CVE-2026-135248",
    "datePublished": "2026-11-23T15:38:30.783836Z",
    "dateReserved": "2026-11-23T15:42:18.646Z",
    "dateUpdated": "2026-11-23T15:42:19.497583Z",
    "state": "PUBLISHED",
    "vulnId": "GCVE-1-2026-20441"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

GCVE-1-2026-20438 (CVE-2026-135244)

Vulnerability from gna-1 – Published: 2026-11-23 15:38 – Updated: 2026-11-23 15:41
VLAI
Title
MISP: Client IP Spoofing via Unvalidated Forwarded Header Bypasses IP Restrictions and Brute-Force Protection
Summary
MISP trusted client-supplied forwarded IP headers (such as X-Forwarded-For) without verifying that the request originated from a known proxy or that the value was a valid IP address. The configured header value was accepted as the authoritative client IP for all security-relevant functions. An unauthenticated remote attacker could forge the forwarded header to: - Bypass IP-based restrictions on API authentication keys - Evade brute-force / rate-limiting protection - Inject arbitrary values into application and ECS logs, corrupting audit trails The vulnerability required the MISP.log_client_ip_header setting to be configured to a forwarded header (e.g. HTTP_X_FORWARDED_FOR), which is a common deployment when MISP sits behind a reverse proxy. Affected: MISP versions prior to 2.5.52
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
Supplier · CNA (v2.0.3)
Decision recorded 2026-11-23 09:43 UTC
CWE
  • CWE-345 - Insufficient Verification of Data Authenticity
  • CWE-20 - Improper Input Validation
Assigner
CIRCL GNA GNA-1
GNA scorecard A 93/100 over 345 records in the last 180 days details
References
Impacted products
Vendor Product Version
MISP MISP Affected: 0 , < 2.5.52 (semver)
    cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*
Create a notification for this product.
GCVE extensions
bcp-05-x-01
AI-assisted vulnerability information annotation
GCVE-BCP-05-X-01
Whole record AI-generated Human-reviewed GNA-1

Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.

ai-computer-assisted:llm-generatedai-computer-assisted:classification
Model Source Identifier
qwen3.8:27b ollama qwen3.8:27b
bcp-05-x-02
Patch-to-vulnerability generation provenance
GCVE-BCP-05-X-02
Generator
patch2vuln.py on 2026-11-23 09:43
Model
qwen3.8:27b
Input
https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620 d41fe7d29d63…
Confidence
high
Commit Subject Patch SHA-256
4637fc29996d fix: [security] Forwarded client IPs are read from the d41fe7d29d63…
Fix summary

The fix introduces a dedicated client-IP resolution routine that only honours the forwarded header when the request's peer address matches a newly introduced trusted-proxy list (MISP.trusted_proxies, supporting IPs and CIDR ranges). It selects the right-most address in the chain that does not belong to a trusted proxy, validates the result as a well-formed IP, and falls back to the TCP peer address (REMOTE_ADDR) when the header is absent, the request did not come from a listed proxy, or the value is not a valid IP. This prevents untrusted clients from injecting arbitrary values into IP-based security controls and logs.

Patch summary

Added a new ClientIpTool class (app/Lib/Tools/ClientIpTool.php) implementing resolve() which parses the forwarded header, cross-references entries against a trusted-proxy CIDR list, and returns the right-most non-proxy valid IP or falls back to REMOTE_ADDR. Added MISP.trusted_proxies server setting (comma-separated IPs/CIDRs) to ServerSettingGroups and Server model. Replaced the previous naive first-comma-split logic in AppModel::_remoteIp() with a call to ClientIpTool::resolve(). Updated the ECS log engine (EcsLog.php) to use the same resolution for the client.ip field. Added a comprehensive unit test suite (ClientIpToolTest.php) covering proxy chains, untrusted sources, invalid IPs, IPv6, and edge cases.

CVSS rationale

AV:N – exploitable over the network via a crafted HTTP header. AC:L – sending a spoofed X-Forwarded-For header is trivial and requires no special conditions. AT:N – no attack-target manipulation needed. PR:N – brute-force protection bypass and log forgery require no authentication; auth-key IP restriction bypass requires a valid key but the unauthenticated paths are sufficient. UI:N – no user interaction. VC:N – no confidentiality impact on the MISP instance itself. VI:L – integrity impact from log forgery and defeat of IP-based access controls. VA:L – availability impact from brute-force / rate-limiting bypass enabling credential-stuffing or resource exhaustion. SC/SI/SA:N – no demonstrated impact on other systems.

Weakness rationale
  • CWE-345 The application accepted client-controlled forwarded-header values as authoritative without verifying that the request actually originated from a trusted proxy. The data's authenticity (i.e., that it was set by a legitimate intermediary) was never confirmed.
  • CWE-20 The previous code took the first comma-separated value from the header without validating it as a well-formed IP address, allowing arbitrary strings to be injected into security controls and logs.
Attack pattern rationale
  • CAPEC-126 The attacker forges the X-Forwarded-For (or equivalent) HTTP header to present a spoofed client IP to the application, bypassing IP-based access restrictions and rate-limiting. This is the most direct CAPEC match: the vulnerability is specifically the lack of validation on a client-supplied HTTP header that the application treats as authoritative. No other CAPEC more precisely describes header-spoofing to defeat IP-based controls.
Assumptions to verify
  • The affected version range is assumed to be all MISP versions prior to 2.5.52 based on the explicit context fixed_version; the patch does not enumerate specific prior versions.
  • PR:N is assigned because at least one impact path (brute-force protection bypass, log forgery) is reachable without authentication; the auth-key IP restriction bypass path does require a valid API key.
  • CAPEC-126 is the closest available match; no CAPEC specifically covers 'unvalidated forwarded-IP header' so the general HTTP header spoofing pattern is used.
  • The vulnerability requires MISP.log_client_ip_header to be set to a forwarded header (not the default REMOTE_ADDR); deployments using the default are not affected.
  • VA:L reflects the potential for rate-limiting bypass to enable resource exhaustion; direct DoS is not demonstrated in the patch.
Model comparison

Selected qwen3.8:27b by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.

Model Score Agreement Confidence Assumptions
qwen3.8:27b 8 11 high 5
bcp-05-x-03
Vulnerability handling and disclosure timeline
GCVE-BCP-05-X-03
  1. 2026-11-16 16:18 UTC Fix developed Corrective change authored (4637fc29996db714301d32606001eaa2ba92d620): fix: [security] Forwarded client IPs are read from the https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620
  2. 2026-11-23 09:42 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620

{
  "containers": {
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "app/Lib/Tools/ClientIpTool.php",
            "app/Model/AppModel.php",
            "app/Model/Server.php",
            "app/Plugin/EcsLog/Lib/Log/Engine/EcsLog.php"
          ],
          "product": "MISP",
          "programFiles": [],
          "repo": "https://github.com/MISP/MISP",
          "vendor": "MISP",
          "versions": [
            {
              "lessThan": "2.5.52",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "ENISA"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "iglocska"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Claude Opus 5.5"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "MISP trusted client-supplied forwarded IP headers (such as X-Forwarded-For) without verifying that the request originated from a known proxy or that the value was a valid IP address. The configured header value was accepted as the authoritative client IP for all security-relevant functions.\n\nAn unauthenticated remote attacker could forge the forwarded header to:\n- Bypass IP-based restrictions on API authentication keys\n- Evade brute-force / rate-limiting protection\n- Inject arbitrary values into application and ECS logs, corrupting audit trails\n\nThe vulnerability required the MISP.log_client_ip_header setting to be configured to a forwarded header (e.g. HTTP_X_FORWARDED_FOR), which is a common deployment when MISP sits behind a reverse proxy.\n\nAffected: MISP versions prior to 2.5.52"
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-126",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-126 Spoofing HTTP Headers"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 6.9,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "LOW",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "LOW",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "SSVC",
          "other": {
            "content": {
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "role": "Supplier",
              "timestamp": "2026-11-23T09:43:29Z",
              "version": "2.0.3"
            },
            "type": "SSVC"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-345",
              "description": "CWE-345 Insufficient Verification of Data Authenticity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-20",
              "description": "CWE-20 Improper Input Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "00000000-0000-4000-8000-000000000000"
      },
      "references": [
        {
          "name": "Security patch",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "The fix introduces a dedicated client-IP resolution routine that only honours the forwarded header when the request\u0027s peer address matches a newly introduced trusted-proxy list (MISP.trusted_proxies, supporting IPs and CIDR ranges). It selects the right-most address in the chain that does not belong to a trusted proxy, validates the result as a well-formed IP, and falls back to the TCP peer address (REMOTE_ADDR) when the header is absent, the request did not come from a listed proxy, or the value is not a valid IP. This prevents untrusted clients from injecting arbitrary values into IP-based security controls and logs."
        }
      ],
      "title": "MISP: Client IP Spoofing via Unvalidated Forwarded Header Bypasses IP Restrictions and Brute-Force Protection",
      "x_gcve": [
        {
          "extensions": {
            "bcp-05-x-01": {
              "ai_annotations": [
                {
                  "ai_level": "generated",
                  "description": "Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.",
                  "gna_source": 1,
                  "models": [
                    {
                      "gna_source": 1,
                      "identifier": "qwen3.8:27b",
                      "name": "qwen3.8:27b",
                      "source": "ollama"
                    }
                  ],
                  "review_status": "full",
                  "scope": "record",
                  "tags": [
                    "ai-computer-assisted:llm-generated",
                    "ai-computer-assisted:classification"
                  ]
                }
              ]
            },
            "bcp-05-x-02": {
              "x_patch2vuln": {
                "assumptions": [
                  "The affected version range is assumed to be all MISP versions prior to 2.5.52 based on the explicit context fixed_version; the patch does not enumerate specific prior versions.",
                  "PR:N is assigned because at least one impact path (brute-force protection bypass, log forgery) is reachable without authentication; the auth-key IP restriction bypass path does require a valid API key.",
                  "CAPEC-126 is the closest available match; no CAPEC specifically covers \u0027unvalidated forwarded-IP header\u0027 so the general HTTP header spoofing pattern is used.",
                  "The vulnerability requires MISP.log_client_ip_header to be set to a forwarded header (not the default REMOTE_ADDR); deployments using the default are not affected.",
                  "VA:L reflects the potential for rate-limiting bypass to enable resource exhaustion; direct DoS is not demonstrated in the patch."
                ],
                "capecRationale": [
                  {
                    "capecId": "CAPEC-126",
                    "rationale": "The attacker forges the X-Forwarded-For (or equivalent) HTTP header to present a spoofed client IP to the application, bypassing IP-based access restrictions and rate-limiting. This is the most direct CAPEC match: the vulnerability is specifically the lack of validation on a client-supplied HTTP header that the application treats as authoritative. No other CAPEC more precisely describes header-spoofing to defeat IP-based controls."
                  }
                ],
                "commit": "4637fc29996db714301d32606001eaa2ba92d620",
                "confidence": "high",
                "credits": [
                  {
                    "lang": "en",
                    "type": "reporter",
                    "value": "ENISA"
                  },
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "iglocska"
                  },
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Claude Opus 5.5"
                  },
                  {
                    "lang": "en",
                    "type": "tool",
                    "value": "Claude Opus 5.5"
                  }
                ],
                "cvssRationale": "AV:N \u2013 exploitable over the network via a crafted HTTP header. AC:L \u2013 sending a spoofed X-Forwarded-For header is trivial and requires no special conditions. AT:N \u2013 no attack-target manipulation needed. PR:N \u2013 brute-force protection bypass and log forgery require no authentication; auth-key IP restriction bypass requires a valid key but the unauthenticated paths are sufficient. UI:N \u2013 no user interaction. VC:N \u2013 no confidentiality impact on the MISP instance itself. VI:L \u2013 integrity impact from log forgery and defeat of IP-based access controls. VA:L \u2013 availability impact from brute-force / rate-limiting bypass enabling credential-stuffing or resource exhaustion. SC/SI/SA:N \u2013 no demonstrated impact on other systems.",
                "fixSummary": "The fix introduces a dedicated client-IP resolution routine that only honours the forwarded header when the request\u0027s peer address matches a newly introduced trusted-proxy list (MISP.trusted_proxies, supporting IPs and CIDR ranges). It selects the right-most address in the chain that does not belong to a trusted proxy, validates the result as a well-formed IP, and falls back to the TCP peer address (REMOTE_ADDR) when the header is absent, the request did not come from a listed proxy, or the value is not a valid IP. This prevents untrusted clients from injecting arbitrary values into IP-based security controls and logs.",
                "generatedAt": "2026-11-23T09:43:29.853814Z",
                "generator": "patch2vuln.py",
                "model": "qwen3.8:27b",
                "modelComparison": {
                  "potentialErrors": [],
                  "rankings": [
                    {
                      "agreementScore": 11,
                      "assumptionCount": 5,
                      "confidence": "high",
                      "model": "qwen3.8:27b",
                      "score": 8
                    }
                  ],
                  "selectedModel": "qwen3.8:27b",
                  "selectionMethod": "deterministic-consensus-v1",
                  "selectionNotice": "The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."
                },
                "patchSha256": "d41fe7d29d63f664a490bf2217554c47ba95e5b1d007b925c8e15cb3fbbbde9f",
                "patchSummary": "Added a new ClientIpTool class (app/Lib/Tools/ClientIpTool.php) implementing resolve() which parses the forwarded header, cross-references entries against a trusted-proxy CIDR list, and returns the right-most non-proxy valid IP or falls back to REMOTE_ADDR. Added MISP.trusted_proxies server setting (comma-separated IPs/CIDRs) to ServerSettingGroups and Server model. Replaced the previous naive first-comma-split logic in AppModel::_remoteIp() with a call to ClientIpTool::resolve(). Updated the ECS log engine (EcsLog.php) to use the same resolution for the client.ip field. Added a comprehensive unit test suite (ClientIpToolTest.php) covering proxy chains, untrusted sources, invalid IPs, IPv6, and edge cases.",
                "patchTruncated": false,
                "patches": [
                  {
                    "commit": "4637fc29996db714301d32606001eaa2ba92d620",
                    "date": "Mon, 16 Nov 2026 17:18:46 +0100",
                    "patchSha256": "d41fe7d29d63f664a490bf2217554c47ba95e5b1d007b925c8e15cb3fbbbde9f",
                    "retrievedAt": "2026-11-23T09:42:59.202975Z",
                    "source": "https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620",
                    "sourceUrl": "https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620",
                    "subject": "fix: [security] Forwarded client IPs are read from the"
                  }
                ],
                "source": "https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620",
                "ssvc": {
                  "options": [
                    {
                      "Exploitation": "none"
                    },
                    {
                      "Automatable": "yes"
                    },
                    {
                      "Technical Impact": "partial"
                    }
                  ],
                  "role": "Supplier",
                  "timestamp": "2026-11-23T09:43:29Z",
                  "version": "2.0.3"
                },
                "subject": "fix: [security] Forwarded client IPs are read from the",
                "weaknessRationale": [
                  {
                    "cweId": "CWE-345",
                    "rationale": "The application accepted client-controlled forwarded-header values as authoritative without verifying that the request actually originated from a trusted proxy. The data\u0027s authenticity (i.e., that it was set by a legitimate intermediary) was never confirmed."
                  },
                  {
                    "cweId": "CWE-20",
                    "rationale": "The previous code took the first comma-separated value from the header without validating it as a well-formed IP address, allowing arbitrary strings to be injected into security controls and logs."
                  }
                ]
              }
            },
            "bcp-05-x-03": {
              "x_timeline": {
                "events": [
                  {
                    "description": "Corrective change authored (4637fc29996db714301d32606001eaa2ba92d620): fix: [security] Forwarded client IPs are read from the",
                    "id": "evt-fix-developed-1",
                    "references": [
                      "https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620"
                    ],
                    "timestamp": "2026-11-16T16:18:46Z",
                    "type": "fix-developed"
                  },
                  {
                    "description": "Patch retrieved from the supplied URL; retrieval time is used as the default availability time.",
                    "id": "evt-fix-available-1",
                    "references": [
                      "https://github.com/MISP/MISP/commit/4637fc29996db714301d32606001eaa2ba92d620"
                    ],
                    "timestamp": "2026-11-23T09:42:59.202975Z",
                    "type": "fix-available"
                  }
                ]
              }
            }
          },
          "recordType": "advisory",
          "vulnId": "GCVE-1-2026-20438"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "00000000-0000-4000-8000-000000000000",
    "cveId": "CVE-2026-135244",
    "datePublished": "2026-11-23T15:38:16.036217Z",
    "dateReserved": "2026-11-23T15:41:26.527Z",
    "dateUpdated": "2026-11-23T15:41:27.389693Z",
    "state": "PUBLISHED",
    "vulnId": "GCVE-1-2026-20438"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

GCVE-1-2026-20431

Vulnerability from gna-1 – Published: 2026-11-23 15:37 – Updated: 2026-11-23 15:37
VLAI
Title
MISP Debug Strip DOM-Based Cross-Site Scripting via Unsanitized Debug Block Import
Summary
MISP contains a DOM-based cross-site scripting (XSS) vulnerability in its Overmind debug strip feature. The debug strip collects and displays debug blocks found in HTTP response bodies, JSON strings, and attribute values. Previously, these blocks were imported directly into the DOM using a deep node import, meaning any stored or transmitted value shaped like a debug block (for example, a pre element with a cake-error class) was rendered as live markup. An attacker who can influence the content of a response, a JSON field, or an attribute value stored in MISP could embed arbitrary HTML, inline event handlers, script-bearing attributes, or javascript: URIs that would execute in the context of a victim's browser session. Preconditions: - The attacker must be able to inject or influence content that MISP renders (e.g., a shared threat-intelligence feed, a crafted attribute value, or a response body). - The victim must be an authenticated MISP user who views the affected page with the debug strip active. Security impact: - Execution of arbitrary JavaScript in the victim's authenticated MISP session. - Potential theft of session tokens, API keys, or sensitive threat-intelligence data visible in the browser. - Manipulation of the page content or submission of forged requests on behalf of the victim. Affected versions: MISP prior to 2.5.52.
SSVC
Exploitation: none Automatable: yes Technical Impact: total
Supplier · CNA (v2.0.3)
Decision recorded 2026-11-23 09:39 UTC
CWE
  • CWE-79 - Improper Neutralization of Input in Web Page ('Cross-site Scripting')
  • CWE-20 - Improper Input Validation
Assigner
CIRCL GNA GNA-1
GNA scorecard A 93/100 over 345 records in the last 180 days details
References
Impacted products
Vendor Product Version
MISP MISP Affected: 0 , < 2.5.52 (semver)
    cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*
Create a notification for this product.
GCVE extensions
bcp-05-x-01
AI-assisted vulnerability information annotation
GCVE-BCP-05-X-01
Whole record AI-generated Human-reviewed GNA-1

Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.

ai-computer-assisted:llm-generatedai-computer-assisted:classification
Model Source Identifier
qwen3.8:27b ollama qwen3.8:27b
bcp-05-x-02
Patch-to-vulnerability generation provenance
GCVE-BCP-05-X-02
Generator
patch2vuln.py on 2026-11-23 09:39
Model
qwen3.8:27b
Input
https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b 5fb036714a86…
Confidence
high
Commit Subject Patch SHA-256
69801fc647c3 fix: [security] Debug strip rebuilds the blocks it lists from 5fb036714a86…
Fix summary

The vulnerability is remediated by replacing the direct DOM node import with a sanitization function that rebuilds each debug block from scratch using a strict allow-list of safe HTML tags, a restricted set of CSS classes (Cake-specific and code-highlight only), and only the display and color style properties. All inline event handlers are stripped and replaced with a data-attribute-based toggle mechanism driven by a single delegated event listener, eliminating the ability for stored content to carry executable script or event handlers into the rendered debug strip.

Patch summary

In app/webroot/js/mispOvermind.js, a new inert() method is added to the debugStrip object that recursively rebuilds DOM nodes: it only permits a fixed set of tags (A, B, BR, CODE, DIV, EM, I, LI, OL, P, PRE, SMALL, SPAN, STRONG, UL), retains only cake-* and code-highlight CSS classes, copies only display and color style properties, strips all other attributes, and converts onclick toggle patterns into data-ov-debug-toggle / data-ov-debug-id attributes. A new toggle() handler and a single delegated click listener replace all inline onclick handlers. All four call sites that previously used document.importNode(block, true) are changed to this.inert(block). A new test file app/Test/js/DebugStripBlocks.test.mjs verifies that imported blocks are rebuilt (not cloned), that only allowed classes and styles survive, and that the toggle mechanism still functions.

CVSS rationale

AV:N – MISP is a network-accessible web application. AC:L – the attacker only needs to store a value shaped like a debug block; no race condition or special timing is required. AT:N – no manipulation of the attack target is needed. PR:L – the attacker needs a low-privilege MISP account (or a feed-sharing relationship) to inject the malicious content; the victim also needs an account. UI:N – the victim simply views a page in MISP that contains the crafted content; no special interaction beyond normal browsing is required. VC/VI/VA:N – the vulnerable component (the MISP server) is not directly compromised; the impact is in the victim's browser. SC:H – the XSS executes in the victim's authenticated browser session, allowing full read access to session data, API tokens, and displayed threat-intelligence content. SI:H – the attacker can modify the page, submit forms, or perform actions as the victim. SA:N – no impact on the system's security authority or privilege boundaries.

Weakness rationale
  • CWE-79 The debug strip imported unsanitized DOM nodes (including inline event handlers, arbitrary attributes, and script-bearing elements) directly into the live document, enabling DOM-based XSS. The fix sanitizes by rebuilding from an allow-list, confirming the root cause was lack of output/input neutralization before DOM insertion.
  • CWE-20 The debug block content sourced from responses, JSON strings, and attribute values was not validated or sanitized before being inserted into the DOM. The patch introduces an allow-list of tags, classes, and style properties, which is a form of input validation on the DOM content.
Attack pattern rationale
  • CAPEC-66 The vulnerability is a textbook DOM-based XSS: attacker-controlled content stored in MISP (attribute values, JSON fields, response bodies) is imported into the live DOM without sanitization, allowing inline handlers and script-bearing markup to execute in the victim's browser. CAPEC-66 is the most specific match. The mapping is confident because the patch explicitly replaces document.importNode with a sanitizing rebuild function and removes inline event handlers.
  • CAPEC-1 As a broader category, CAPEC-1 covers all XSS variants. It is included as a secondary mapping because the vulnerability could also be triggered via reflected or stored vectors depending on how the attacker injects the malicious debug-block-shaped content into MISP data fields.
Assumptions to verify
  • PR:L assumes the attacker needs at least a low-privilege MISP account or a feed-sharing relationship to inject the malicious content; if MISP instances are configured with anonymous read access to certain feeds, PR could be N.
  • UI:N assumes the debug strip is active by default when a user views data in MISP; if it requires an explicit developer-mode toggle, UI could be A.
  • The affected version range is inferred from the explicit context (fixed in 2.5.52); the patch itself does not specify a minimum affected version.
  • CAPEC-66 is selected as the best-fit attack pattern; the mapping is confident based on the patch evidence but the exact injection vector (stored vs. reflected) depends on deployment configuration.
  • The Co-Authored-By line credits Claude Opus 5.5 as a remediation developer; this is recorded as-is from the commit metadata without independent verification of the contribution.
Model comparison

Selected qwen3.8:27b by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.

Model Score Agreement Confidence Assumptions
qwen3.8:27b 8 11 high 5
bcp-05-x-03
Vulnerability handling and disclosure timeline
GCVE-BCP-05-X-03
  1. 2026-11-15 23:16 UTC Fix developed Corrective change authored (69801fc647c331162d8b5893bc04a97fe2909c5b): fix: [security] Debug strip rebuilds the blocks it lists from https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b
  2. 2026-11-23 09:38 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b

{
  "containers": {
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "Overmind debug strip (mispOvermind.js)"
          ],
          "product": "MISP",
          "programFiles": [
            "app/webroot/js/mispOvermind.js"
          ],
          "repo": "https://github.com/MISP/MISP",
          "vendor": "MISP",
          "versions": [
            {
              "lessThan": "2.5.52",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "ENISA"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "iglocska"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Claude Opus 5.5"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "MISP contains a DOM-based cross-site scripting (XSS) vulnerability in its Overmind debug strip feature. The debug strip collects and displays debug blocks found in HTTP response bodies, JSON strings, and attribute values. Previously, these blocks were imported directly into the DOM using a deep node import, meaning any stored or transmitted value shaped like a debug block (for example, a pre element with a cake-error class) was rendered as live markup. An attacker who can influence the content of a response, a JSON field, or an attribute value stored in MISP could embed arbitrary HTML, inline event handlers, script-bearing attributes, or javascript: URIs that would execute in the context of a victim\u0027s browser session.\n\nPreconditions:\n- The attacker must be able to inject or influence content that MISP renders (e.g., a shared threat-intelligence feed, a crafted attribute value, or a response body).\n- The victim must be an authenticated MISP user who views the affected page with the debug strip active.\n\nSecurity impact:\n- Execution of arbitrary JavaScript in the victim\u0027s authenticated MISP session.\n- Potential theft of session tokens, API keys, or sensitive threat-intelligence data visible in the browser.\n- Manipulation of the page content or submission of forged requests on behalf of the victim.\n\nAffected versions: MISP prior to 2.5.52."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-66",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-66 Cross Site Scripting (DOM-based)"
            }
          ]
        },
        {
          "capecId": "CAPEC-1",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-1 Cross Site Scripting"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 6.4,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "HIGH",
            "subIntegrityImpact": "HIGH",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "SSVC",
          "other": {
            "content": {
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "total"
                }
              ],
              "role": "Supplier",
              "timestamp": "2026-11-23T09:39:11Z",
              "version": "2.0.3"
            },
            "type": "SSVC"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-79",
              "description": "CWE-79 Improper Neutralization of Input in Web Page (\u0027Cross-site Scripting\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-20",
              "description": "CWE-20 Improper Input Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "00000000-0000-4000-8000-000000000000"
      },
      "references": [
        {
          "name": "Security patch",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "The vulnerability is remediated by replacing the direct DOM node import with a sanitization function that rebuilds each debug block from scratch using a strict allow-list of safe HTML tags, a restricted set of CSS classes (Cake-specific and code-highlight only), and only the display and color style properties. All inline event handlers are stripped and replaced with a data-attribute-based toggle mechanism driven by a single delegated event listener, eliminating the ability for stored content to carry executable script or event handlers into the rendered debug strip."
        }
      ],
      "title": "MISP Debug Strip DOM-Based Cross-Site Scripting via Unsanitized Debug Block Import",
      "x_gcve": [
        {
          "extensions": {
            "bcp-05-x-01": {
              "ai_annotations": [
                {
                  "ai_level": "generated",
                  "description": "Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.",
                  "gna_source": 1,
                  "models": [
                    {
                      "gna_source": 1,
                      "identifier": "qwen3.8:27b",
                      "name": "qwen3.8:27b",
                      "source": "ollama"
                    }
                  ],
                  "review_status": "full",
                  "scope": "record",
                  "tags": [
                    "ai-computer-assisted:llm-generated",
                    "ai-computer-assisted:classification"
                  ]
                }
              ]
            },
            "bcp-05-x-02": {
              "x_patch2vuln": {
                "assumptions": [
                  "PR:L assumes the attacker needs at least a low-privilege MISP account or a feed-sharing relationship to inject the malicious content; if MISP instances are configured with anonymous read access to certain feeds, PR could be N.",
                  "UI:N assumes the debug strip is active by default when a user views data in MISP; if it requires an explicit developer-mode toggle, UI could be A.",
                  "The affected version range is inferred from the explicit context (fixed in 2.5.52); the patch itself does not specify a minimum affected version.",
                  "CAPEC-66 is selected as the best-fit attack pattern; the mapping is confident based on the patch evidence but the exact injection vector (stored vs. reflected) depends on deployment configuration.",
                  "The Co-Authored-By line credits Claude Opus 5.5 as a remediation developer; this is recorded as-is from the commit metadata without independent verification of the contribution."
                ],
                "capecRationale": [
                  {
                    "capecId": "CAPEC-66",
                    "rationale": "The vulnerability is a textbook DOM-based XSS: attacker-controlled content stored in MISP (attribute values, JSON fields, response bodies) is imported into the live DOM without sanitization, allowing inline handlers and script-bearing markup to execute in the victim\u0027s browser. CAPEC-66 is the most specific match. The mapping is confident because the patch explicitly replaces document.importNode with a sanitizing rebuild function and removes inline event handlers."
                  },
                  {
                    "capecId": "CAPEC-1",
                    "rationale": "As a broader category, CAPEC-1 covers all XSS variants. It is included as a secondary mapping because the vulnerability could also be triggered via reflected or stored vectors depending on how the attacker injects the malicious debug-block-shaped content into MISP data fields."
                  }
                ],
                "commit": "69801fc647c331162d8b5893bc04a97fe2909c5b",
                "confidence": "high",
                "credits": [
                  {
                    "lang": "en",
                    "type": "reporter",
                    "value": "ENISA"
                  },
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "iglocska"
                  },
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Claude Opus 5.5"
                  }
                ],
                "cvssRationale": "AV:N \u2013 MISP is a network-accessible web application. AC:L \u2013 the attacker only needs to store a value shaped like a debug block; no race condition or special timing is required. AT:N \u2013 no manipulation of the attack target is needed. PR:L \u2013 the attacker needs a low-privilege MISP account (or a feed-sharing relationship) to inject the malicious content; the victim also needs an account. UI:N \u2013 the victim simply views a page in MISP that contains the crafted content; no special interaction beyond normal browsing is required. VC/VI/VA:N \u2013 the vulnerable component (the MISP server) is not directly compromised; the impact is in the victim\u0027s browser. SC:H \u2013 the XSS executes in the victim\u0027s authenticated browser session, allowing full read access to session data, API tokens, and displayed threat-intelligence content. SI:H \u2013 the attacker can modify the page, submit forms, or perform actions as the victim. SA:N \u2013 no impact on the system\u0027s security authority or privilege boundaries.",
                "fixSummary": "The vulnerability is remediated by replacing the direct DOM node import with a sanitization function that rebuilds each debug block from scratch using a strict allow-list of safe HTML tags, a restricted set of CSS classes (Cake-specific and code-highlight only), and only the display and color style properties. All inline event handlers are stripped and replaced with a data-attribute-based toggle mechanism driven by a single delegated event listener, eliminating the ability for stored content to carry executable script or event handlers into the rendered debug strip.",
                "generatedAt": "2026-11-23T09:39:11.352164Z",
                "generator": "patch2vuln.py",
                "model": "qwen3.8:27b",
                "modelComparison": {
                  "potentialErrors": [],
                  "rankings": [
                    {
                      "agreementScore": 11,
                      "assumptionCount": 5,
                      "confidence": "high",
                      "model": "qwen3.8:27b",
                      "score": 8
                    }
                  ],
                  "selectedModel": "qwen3.8:27b",
                  "selectionMethod": "deterministic-consensus-v1",
                  "selectionNotice": "The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."
                },
                "patchSha256": "5fb036714a866a0296dd67359c7030e1f1e54edac8ee1f374cf33c4b6e0835cc",
                "patchSummary": "In app/webroot/js/mispOvermind.js, a new inert() method is added to the debugStrip object that recursively rebuilds DOM nodes: it only permits a fixed set of tags (A, B, BR, CODE, DIV, EM, I, LI, OL, P, PRE, SMALL, SPAN, STRONG, UL), retains only cake-* and code-highlight CSS classes, copies only display and color style properties, strips all other attributes, and converts onclick toggle patterns into data-ov-debug-toggle / data-ov-debug-id attributes. A new toggle() handler and a single delegated click listener replace all inline onclick handlers. All four call sites that previously used document.importNode(block, true) are changed to this.inert(block). A new test file app/Test/js/DebugStripBlocks.test.mjs verifies that imported blocks are rebuilt (not cloned), that only allowed classes and styles survive, and that the toggle mechanism still functions.",
                "patchTruncated": false,
                "patches": [
                  {
                    "commit": "69801fc647c331162d8b5893bc04a97fe2909c5b",
                    "date": "Mon, 16 Nov 2026 00:16:17 +0100",
                    "patchSha256": "5fb036714a866a0296dd67359c7030e1f1e54edac8ee1f374cf33c4b6e0835cc",
                    "retrievedAt": "2026-11-23T09:38:39.016424Z",
                    "source": "https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b",
                    "sourceUrl": "https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b",
                    "subject": "fix: [security] Debug strip rebuilds the blocks it lists from"
                  }
                ],
                "source": "https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b",
                "ssvc": {
                  "options": [
                    {
                      "Exploitation": "none"
                    },
                    {
                      "Automatable": "yes"
                    },
                    {
                      "Technical Impact": "total"
                    }
                  ],
                  "role": "Supplier",
                  "timestamp": "2026-11-23T09:39:11Z",
                  "version": "2.0.3"
                },
                "subject": "fix: [security] Debug strip rebuilds the blocks it lists from",
                "weaknessRationale": [
                  {
                    "cweId": "CWE-79",
                    "rationale": "The debug strip imported unsanitized DOM nodes (including inline event handlers, arbitrary attributes, and script-bearing elements) directly into the live document, enabling DOM-based XSS. The fix sanitizes by rebuilding from an allow-list, confirming the root cause was lack of output/input neutralization before DOM insertion."
                  },
                  {
                    "cweId": "CWE-20",
                    "rationale": "The debug block content sourced from responses, JSON strings, and attribute values was not validated or sanitized before being inserted into the DOM. The patch introduces an allow-list of tags, classes, and style properties, which is a form of input validation on the DOM content."
                  }
                ]
              }
            },
            "bcp-05-x-03": {
              "x_timeline": {
                "events": [
                  {
                    "description": "Corrective change authored (69801fc647c331162d8b5893bc04a97fe2909c5b): fix: [security] Debug strip rebuilds the blocks it lists from",
                    "id": "evt-fix-developed-1",
                    "references": [
                      "https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b"
                    ],
                    "timestamp": "2026-11-15T23:16:17Z",
                    "type": "fix-developed"
                  },
                  {
                    "description": "Patch retrieved from the supplied URL; retrieval time is used as the default availability time.",
                    "id": "evt-fix-available-1",
                    "references": [
                      "https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b"
                    ],
                    "timestamp": "2026-11-23T09:38:39.016424Z",
                    "type": "fix-available"
                  }
                ]
              }
            }
          },
          "recordType": "advisory",
          "vulnId": "GCVE-1-2026-20431"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "00000000-0000-4000-8000-000000000000",
    "datePublished": "2026-11-23T15:37:39.127228Z",
    "dateUpdated": "2026-11-23T15:37:39.127228Z",
    "state": "PUBLISHED",
    "vulnId": "GCVE-1-2026-20431"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

GCVE-1-2026-20389 (CVE-2026-138678)

Vulnerability from gna-1 – Published: 2026-11-30 09:10 – Updated: 2026-11-30 09:14
VLAI
Title
AIL Framework SSRF via User-Configured MISP and WebHook Export Destinations
Summary
The AIL Framework (ail-project/ail-framework) allowed authenticated users to configure arbitrary outbound HTTP/HTTPS destinations for MISP event export and WebHook notifications. The prior validation only verified that the URL used an http or https scheme and contained a netloc, without checking whether the resolved IP address was public. This permitted a user to direct the server to make requests to internal or private network addresses (loopback, RFC 1918, link-local, cloud metadata endpoints, etc.), effectively enabling a Server-Side Request Forgery (SSRF) attack against the deployment's internal network. Additionally, the application followed HTTP redirects and permitted proxy connections, providing two further paths to reach internal services even when the initially configured URL appeared public. DNS resolution was performed only at configuration time and not re-verified at connection time, allowing DNS-rebinding attacks. The affected components include the MISP exporter (bin/exporter/MISPExporter.py), the WebHook exporter (bin/exporter/WebHookExporter.py), the Tracker module (bin/lib/Tracker.py), and the user MISP configuration endpoint (bin/lib/ail_config.py). Any authenticated user with the ability to save a MISP URL or a Tracker webhook URL could exploit this issue. The security impact includes unauthorized access to internal services, potential data exfiltration from internal endpoints, and the ability to send authenticated requests to internal APIs using the server's network position.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
Supplier · CNA (v2.0.3)
Decision recorded 2026-11-30 09:06 UTC
CWE
  • CWE-918 - Server-Side Request Forgery (SSRF)
  • CWE-601 - Open Redirection
  • CWE-20 - Improper Input Validation
Assigner
CIRCL GNA GNA-1
GNA scorecard A 93/100 over 345 records in the last 180 days details
Impacted products
Vendor Product Version
ail-project ail-framework Affected: 0 , < 7.2 (semver)
    cpe:2.3:a:ail-project:ail-framework:*:*:*:*:*:*:*:*
Create a notification for this product.
GCVE extensions
bcp-05-x-01
AI-assisted vulnerability information annotation
GCVE-BCP-05-X-01
Whole record AI-generated Human-reviewed GNA-1

Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.

ai-computer-assisted:llm-generatedai-computer-assisted:classification
Model Source Identifier
qwen3.8:27b ollama qwen3.8:27b
bcp-05-x-02
Patch-to-vulnerability generation provenance
GCVE-BCP-05-X-02
Generator
patch2vuln.py on 2026-11-30 09:06
Model
qwen3.8:27b
Input
patch set (3 sources) 515e8119705c…
Confidence
high
Commit Subject Patch SHA-256
da3a955fc9c5 fix: [security] restrict user-configured export destinations a0bc2fe06a70…
cc15f888851e fix: [security] support approved private MISP endpoints 2858e32dc38e…
da3a955fc9c5 fix: [security] restrict user-configured export 52307701ace0…
Fix summary

The fix introduces a dedicated outbound HTTP transport layer (bin/lib/outbound_http.py) that enforces a public-address policy at both configuration time and connection time. URLs are validated to resolve exclusively to globally-routable IP addresses. A custom HTTP adapter re-resolves DNS on every connection, blocks all HTTP redirects, rejects proxy usage, and validates URL structure. For MISP exports, an operator-managed allowlist of approved private endpoints is supported, with the connection pinned to a specific numeric address to prevent DNS rebinding. Error messages are generalized to prevent leakage of upstream response bodies.

Patch summary

Added bin/lib/outbound_http.py implementing is_public_http_url() for DNS-based public address validation and PublicHTTPAdapter/ExportHTTPAdapter (a custom requests.HTTPAdapter subclass) that re-resolves DNS at connect time, blocks redirects, rejects proxies, and validates URL format. Replaced the weak is_valid_webhook_url() in Tracker.py with is_public_http_url(). Added is_public_http_url() checks in ail_config.py for MISP URL saves. Modified MISPExporter.py to use a _PublicPyMISP/_ExportPyMISP subclass that installs the custom adapter on both http and https schemes. Modified WebHookExporter.py to use the custom adapter with a timeout. Added operator-pinned private MISP endpoint support via configs/core.cfg.sample [MISP] private_export_endpoints. Generalized MISPConnectionError with structured reason codes and user-facing messages. Added tests/test_outbound_http.py covering DNS rebinding, redirect blocking, proxy rejection, and private endpoint pinning.

CVSS rationale

AV:N: The vulnerability is exploitable over the network via the AIL web interface. AC:L: An authenticated user simply configures a URL pointing to an internal address; no race conditions or special timing are required. AT:N: No manipulation of the attack target is needed. PR:L: Requires a low-privilege authenticated user account with the ability to save MISP or webhook configuration. UI:N: No additional user interaction is required beyond the initial configuration. VC:N/VI:N/VA:N: The AIL server's own confidentiality, integrity, and availability are not directly compromised. SC:H: The attacker can read responses from internal services (e.g., cloud metadata, internal APIs), resulting in high confidentiality impact on the target. SI:L: The attacker can send POST requests with AIL-generated payloads to internal services, resulting in limited integrity impact on the target. SA:N: No significant availability impact on target systems is demonstrated.

Weakness rationale
  • CWE-918 The primary vulnerability allows an authenticated user to configure a URL that causes the server to make HTTP requests to arbitrary internal or private addresses. The original validation only checked scheme and netloc, not the resolved IP address, and the application followed redirects and allowed proxies, all of which are classic SSRF vectors.
  • CWE-601 The application followed HTTP redirects on outbound export requests, allowing an attacker to use a public URL that redirects to an internal address. The fix explicitly blocks all redirects in the custom adapter.
  • CWE-20 The original URL validation (is_valid_webhook_url) only checked for http/https scheme and non-empty netloc, without verifying that the destination resolved to a public IP address. This insufficient validation is the root cause enabling the SSRF.
Attack pattern rationale
  • CAPEC-12 The patch directly addresses a Server-Side Request Forgery vulnerability where user-supplied URLs are used as the destination for server-initiated HTTP requests. The attacker configures a URL pointing to an internal service (e.g., 127.0.0.1, 169.254.169.254, 10.x.x.x) and the server makes the request on the attacker's behalf. CAPEC-12 is the standard attack pattern for SSRF and is the closest match to the evidence in this patch.
Assumptions to verify
  • The affected version range is unknown; no version tags or release boundaries are present in the patch metadata.
  • PR:L assumes that any authenticated AIL user can configure MISP or webhook URLs; the patch does not specify role-based restrictions on these endpoints.
  • SC:H assumes the attacker can read full HTTP response bodies from internal services; the patch's error-handling changes suggest response data was previously accessible to the user.
  • SI:L assumes the attacker can influence the content of POST requests sent to internal services via the webhook/MISP export mechanism; the actual integrity impact depends on the internal service's input handling.
  • The CAPEC-12 mapping is the standard SSRF pattern and is the best available match; no more specific CAPEC exists for user-configured SSRF via export destinations.
  • duck4nh's credit role is unspecified in the commit message; they are listed without a qualifier, so 'other' is used rather than inferring a specific role.
  • The patch does not indicate whether the vulnerability was disclosed through a coordinated disclosure program or a public report; the 'PTIT' tag in credits is not further explained.
Model comparison

Selected qwen3.8:27b by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.

Model Score Agreement Confidence Assumptions
qwen3.8:27b 6 11 high 7
bcp-05-x-03
Vulnerability handling and disclosure timeline
GCVE-BCP-05-X-03
  1. 2026-11-30 07:41 UTC Fix developed Corrective change authored (da3a955fc9c5ed9a4418e1b506fa134f36954e54): fix: [security] restrict user-configured export destinations https://github.com/ail-project/ail-framework/commit/da3a955fc9c5ed9a4418e1b506fa134f36954e54.patch
  2. 2026-11-30 08:03 UTC Fix developed Corrective change authored (cc15f888851e2cfbc5f85e921250aaf3101adfe5): fix: [security] support approved private MISP endpoints https://github.com/ail-project/ail-framework/commit/cc15f888851e2cfbc5f85e921250aaf3101adfe5.patch
  3. 2026-11-30 09:05 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/ail-project/ail-framework/commit/da3a955fc9c5ed9a4418e1b506fa134f36954e54.patch
  4. 2026-11-30 09:05 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/ail-project/ail-framework/commit/cc15f888851e2cfbc5f85e921250aaf3101adfe5.patch
  5. 2026-11-30 09:05 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/ail-project/ail-framework/commit/221834638bbbc742ea217fac533a8976a72af848.patch

{
  "containers": {
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:ail-project:ail-framework:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "MISP Exporter",
            "WebHook Exporter",
            "Tracker",
            "User MISP Configuration"
          ],
          "product": "ail-framework",
          "programFiles": [
            "bin/exporter/MISPExporter.py",
            "bin/exporter/WebHookExporter.py",
            "bin/lib/Tracker.py",
            "bin/lib/ail_config.py",
            "bin/lib/outbound_http.py",
            "var/www/blueprints/import_export.py"
          ],
          "repo": "https://github.com/ail-project/ail-framework",
          "vendor": "ail-project",
          "versions": [
            {
              "lessThan": "7.2",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [],
              "negate": false,
              "operator": "OR"
            },
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:ail_project:ail_framework:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "0",
                  "vulnerable": true
                }
              ],
              "operator": "OR"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Alexandre Dulaunoy"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "AnhCD"
        },
        {
          "lang": "en",
          "type": "remediation verifier",
          "value": "ChoDX"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "duck4nh"
        },
        {
          "lang": "en",
          "type": "remediation verifier",
          "value": "Aurelien Thirion"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "The AIL Framework (ail-project/ail-framework) allowed authenticated users to configure arbitrary outbound HTTP/HTTPS destinations for MISP event export and WebHook notifications. The prior validation only verified that the URL used an http or https scheme and contained a netloc, without checking whether the resolved IP address was public. This permitted a user to direct the server to make requests to internal or private network addresses (loopback, RFC 1918, link-local, cloud metadata endpoints, etc.), effectively enabling a Server-Side Request Forgery (SSRF) attack against the deployment\u0027s internal network.\n\nAdditionally, the application followed HTTP redirects and permitted proxy connections, providing two further paths to reach internal services even when the initially configured URL appeared public. DNS resolution was performed only at configuration time and not re-verified at connection time, allowing DNS-rebinding attacks.\n\nThe affected components include the MISP exporter (bin/exporter/MISPExporter.py), the WebHook exporter (bin/exporter/WebHookExporter.py), the Tracker module (bin/lib/Tracker.py), and the user MISP configuration endpoint (bin/lib/ail_config.py). Any authenticated user with the ability to save a MISP URL or a Tracker webhook URL could exploit this issue. The security impact includes unauthorized access to internal services, potential data exfiltration from internal endpoints, and the ability to send authenticated requests to internal APIs using the server\u0027s network position."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-12",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-12 Exploiting SSRF"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "LOW",
            "subIntegrityImpact": "LOW",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "SSVC",
          "other": {
            "content": {
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "role": "Supplier",
              "timestamp": "2026-11-30T09:06:44Z",
              "version": "2.0.3"
            },
            "type": "SSVC"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-918",
              "description": "CWE-918 Server-Side Request Forgery (SSRF)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-601",
              "description": "CWE-601 Open Redirection",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-20",
              "description": "CWE-20 Improper Input Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "name": "Security patch",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/ail-project/ail-framework/commit/da3a955fc9c5ed9a4418e1b506fa134f36954e54"
        },
        {
          "name": "Security patch",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/ail-project/ail-framework/commit/cc15f888851e2cfbc5f85e921250aaf3101adfe5"
        },
        {
          "name": "Security patch",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/ail-project/ail-framework/commit/221834638bbbc742ea217fac533a8976a72af848"
        },
        {
          "tags": [
            "issue-tracking"
          ],
          "url": "https://vulnerability.circl.lu/disclosure/8f84aca1-a67e-4b12-8d00-adf494bf4658"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "The fix introduces a dedicated outbound HTTP transport layer (bin/lib/outbound_http.py) that enforces a public-address policy at both configuration time and connection time. URLs are validated to resolve exclusively to globally-routable IP addresses. A custom HTTP adapter re-resolves DNS on every connection, blocks all HTTP redirects, rejects proxy usage, and validates URL structure. For MISP exports, an operator-managed allowlist of approved private endpoints is supported, with the connection pinned to a specific numeric address to prevent DNS rebinding. Error messages are generalized to prevent leakage of upstream response bodies."
        }
      ],
      "title": "AIL Framework SSRF via User-Configured MISP and WebHook Export Destinations",
      "x_gcve": [
        {
          "extensions": {
            "bcp-05-x-01": {
              "ai_annotations": [
                {
                  "ai_level": "generated",
                  "description": "Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.",
                  "gna_source": 1,
                  "models": [
                    {
                      "gna_source": 1,
                      "identifier": "qwen3.8:27b",
                      "name": "qwen3.8:27b",
                      "source": "ollama"
                    }
                  ],
                  "review_status": "full",
                  "scope": "record",
                  "tags": [
                    "ai-computer-assisted:llm-generated",
                    "ai-computer-assisted:classification"
                  ]
                }
              ]
            },
            "bcp-05-x-02": {
              "x_patch2vuln": {
                "assumptions": [
                  "The affected version range is unknown; no version tags or release boundaries are present in the patch metadata.",
                  "PR:L assumes that any authenticated AIL user can configure MISP or webhook URLs; the patch does not specify role-based restrictions on these endpoints.",
                  "SC:H assumes the attacker can read full HTTP response bodies from internal services; the patch\u0027s error-handling changes suggest response data was previously accessible to the user.",
                  "SI:L assumes the attacker can influence the content of POST requests sent to internal services via the webhook/MISP export mechanism; the actual integrity impact depends on the internal service\u0027s input handling.",
                  "The CAPEC-12 mapping is the standard SSRF pattern and is the best available match; no more specific CAPEC exists for user-configured SSRF via export destinations.",
                  "duck4nh\u0027s credit role is unspecified in the commit message; they are listed without a qualifier, so \u0027other\u0027 is used rather than inferring a specific role.",
                  "The patch does not indicate whether the vulnerability was disclosed through a coordinated disclosure program or a public report; the \u0027PTIT\u0027 tag in credits is not further explained."
                ],
                "capecRationale": [
                  {
                    "capecId": "CAPEC-12",
                    "rationale": "The patch directly addresses a Server-Side Request Forgery vulnerability where user-supplied URLs are used as the destination for server-initiated HTTP requests. The attacker configures a URL pointing to an internal service (e.g., 127.0.0.1, 169.254.169.254, 10.x.x.x) and the server makes the request on the attacker\u0027s behalf. CAPEC-12 is the standard attack pattern for SSRF and is the closest match to the evidence in this patch."
                  }
                ],
                "commit": "da3a955fc9c5ed9a4418e1b506fa134f36954e54",
                "confidence": "high",
                "credits": [
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Alexandre Dulaunoy"
                  },
                  {
                    "lang": "en",
                    "type": "finder",
                    "value": "AnhCD"
                  },
                  {
                    "lang": "en",
                    "type": "remediation verifier",
                    "value": "ChoDX"
                  },
                  {
                    "lang": "en",
                    "type": "other",
                    "value": "duck4nh"
                  }
                ],
                "cvssRationale": "AV:N: The vulnerability is exploitable over the network via the AIL web interface. AC:L: An authenticated user simply configures a URL pointing to an internal address; no race conditions or special timing are required. AT:N: No manipulation of the attack target is needed. PR:L: Requires a low-privilege authenticated user account with the ability to save MISP or webhook configuration. UI:N: No additional user interaction is required beyond the initial configuration. VC:N/VI:N/VA:N: The AIL server\u0027s own confidentiality, integrity, and availability are not directly compromised. SC:H: The attacker can read responses from internal services (e.g., cloud metadata, internal APIs), resulting in high confidentiality impact on the target. SI:L: The attacker can send POST requests with AIL-generated payloads to internal services, resulting in limited integrity impact on the target. SA:N: No significant availability impact on target systems is demonstrated.",
                "draft": false,
                "fixSummary": "The fix introduces a dedicated outbound HTTP transport layer (bin/lib/outbound_http.py) that enforces a public-address policy at both configuration time and connection time. URLs are validated to resolve exclusively to globally-routable IP addresses. A custom HTTP adapter re-resolves DNS on every connection, blocks all HTTP redirects, rejects proxy usage, and validates URL structure. For MISP exports, an operator-managed allowlist of approved private endpoints is supported, with the connection pinned to a specific numeric address to prevent DNS rebinding. Error messages are generalized to prevent leakage of upstream response bodies.",
                "generatedAt": "2026-11-30T09:06:44.616639Z",
                "generator": "patch2vuln.py",
                "model": "qwen3.8:27b",
                "modelComparison": {
                  "potentialErrors": [],
                  "rankings": [
                    {
                      "agreementScore": 11,
                      "assumptionCount": 7,
                      "confidence": "high",
                      "model": "qwen3.8:27b",
                      "score": 6
                    }
                  ],
                  "selectedModel": "qwen3.8:27b",
                  "selectionMethod": "deterministic-consensus-v1",
                  "selectionNotice": "The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."
                },
                "patchSha256": "515e8119705c4d117f8a2f8670f926223164f6805fc6d33fef76a0d29a56858a",
                "patchSummary": "Added bin/lib/outbound_http.py implementing is_public_http_url() for DNS-based public address validation and PublicHTTPAdapter/ExportHTTPAdapter (a custom requests.HTTPAdapter subclass) that re-resolves DNS at connect time, blocks redirects, rejects proxies, and validates URL format. Replaced the weak is_valid_webhook_url() in Tracker.py with is_public_http_url(). Added is_public_http_url() checks in ail_config.py for MISP URL saves. Modified MISPExporter.py to use a _PublicPyMISP/_ExportPyMISP subclass that installs the custom adapter on both http and https schemes. Modified WebHookExporter.py to use the custom adapter with a timeout. Added operator-pinned private MISP endpoint support via configs/core.cfg.sample [MISP] private_export_endpoints. Generalized MISPConnectionError with structured reason codes and user-facing messages. Added tests/test_outbound_http.py covering DNS rebinding, redirect blocking, proxy rejection, and private endpoint pinning.",
                "patchTruncated": false,
                "patches": [
                  {
                    "commit": "da3a955fc9c5ed9a4418e1b506fa134f36954e54",
                    "date": "Mon, 30 Nov 2026 08:41:58 +0100",
                    "patchSha256": "a0bc2fe06a70ff1081c1ef7ce6bd247d91bc8b627b9462deb8492fb1e27c0c9e",
                    "retrievedAt": "2026-11-30T09:05:40.170066Z",
                    "source": "https://github.com/ail-project/ail-framework/commit/da3a955fc9c5ed9a4418e1b506fa134f36954e54.patch",
                    "sourceUrl": "https://github.com/ail-project/ail-framework/commit/da3a955fc9c5ed9a4418e1b506fa134f36954e54.patch",
                    "subject": "fix: [security] restrict user-configured export destinations"
                  },
                  {
                    "commit": "cc15f888851e2cfbc5f85e921250aaf3101adfe5",
                    "date": "Mon, 30 Nov 2026 09:03:27 +0100",
                    "patchSha256": "2858e32dc38e02400d1cf26342c3b30781ecaad5182c366ea7fdf521136bfb38",
                    "retrievedAt": "2026-11-30T09:05:40.426350Z",
                    "source": "https://github.com/ail-project/ail-framework/commit/cc15f888851e2cfbc5f85e921250aaf3101adfe5.patch",
                    "sourceUrl": "https://github.com/ail-project/ail-framework/commit/cc15f888851e2cfbc5f85e921250aaf3101adfe5.patch",
                    "subject": "fix: [security] support approved private MISP endpoints"
                  },
                  {
                    "commit": "da3a955fc9c5ed9a4418e1b506fa134f36954e54",
                    "date": "Mon, 30 Nov 2026 08:41:58 +0100",
                    "patchSha256": "52307701ace03553a5122ca94ac10dc76bf6596327a9769796e24869abdca41c",
                    "retrievedAt": "2026-11-30T09:05:40.709447Z",
                    "source": "https://github.com/ail-project/ail-framework/commit/221834638bbbc742ea217fac533a8976a72af848.patch",
                    "sourceUrl": "https://github.com/ail-project/ail-framework/commit/221834638bbbc742ea217fac533a8976a72af848.patch",
                    "subject": "fix: [security] restrict user-configured export"
                  }
                ],
                "source": "patch set (3 sources)",
                "ssvc": {
                  "options": [
                    {
                      "Exploitation": "none"
                    },
                    {
                      "Automatable": "yes"
                    },
                    {
                      "Technical Impact": "partial"
                    }
                  ],
                  "role": "Supplier",
                  "timestamp": "2026-11-30T09:06:44Z",
                  "version": "2.0.3"
                },
                "subject": "fix: [security] restrict user-configured export",
                "weaknessRationale": [
                  {
                    "cweId": "CWE-918",
                    "rationale": "The primary vulnerability allows an authenticated user to configure a URL that causes the server to make HTTP requests to arbitrary internal or private addresses. The original validation only checked scheme and netloc, not the resolved IP address, and the application followed redirects and allowed proxies, all of which are classic SSRF vectors."
                  },
                  {
                    "cweId": "CWE-601",
                    "rationale": "The application followed HTTP redirects on outbound export requests, allowing an attacker to use a public URL that redirects to an internal address. The fix explicitly blocks all redirects in the custom adapter."
                  },
                  {
                    "cweId": "CWE-20",
                    "rationale": "The original URL validation (is_valid_webhook_url) only checked for http/https scheme and non-empty netloc, without verifying that the destination resolved to a public IP address. This insufficient validation is the root cause enabling the SSRF."
                  }
                ]
              }
            },
            "bcp-05-x-03": {
              "x_timeline": {
                "events": [
                  {
                    "description": "Corrective change authored (da3a955fc9c5ed9a4418e1b506fa134f36954e54): fix: [security] restrict user-configured export destinations",
                    "id": "evt-fix-developed-1",
                    "references": [
                      "https://github.com/ail-project/ail-framework/commit/da3a955fc9c5ed9a4418e1b506fa134f36954e54.patch"
                    ],
                    "timestamp": "2026-11-30T07:41:58Z",
                    "type": "fix-developed"
                  },
                  {
                    "description": "Corrective change authored (cc15f888851e2cfbc5f85e921250aaf3101adfe5): fix: [security] support approved private MISP endpoints",
                    "id": "evt-fix-developed-2",
                    "references": [
                      "https://github.com/ail-project/ail-framework/commit/cc15f888851e2cfbc5f85e921250aaf3101adfe5.patch"
                    ],
                    "timestamp": "2026-11-30T08:03:27Z",
                    "type": "fix-developed"
                  },
                  {
                    "description": "Patch retrieved from the supplied URL; retrieval time is used as the default availability time.",
                    "id": "evt-fix-available-1",
                    "references": [
                      "https://github.com/ail-project/ail-framework/commit/da3a955fc9c5ed9a4418e1b506fa134f36954e54.patch"
                    ],
                    "timestamp": "2026-11-30T09:05:40.170066Z",
                    "type": "fix-available"
                  },
                  {
                    "description": "Patch retrieved from the supplied URL; retrieval time is used as the default availability time.",
                    "id": "evt-fix-available-2",
                    "references": [
                      "https://github.com/ail-project/ail-framework/commit/cc15f888851e2cfbc5f85e921250aaf3101adfe5.patch"
                    ],
                    "timestamp": "2026-11-30T09:05:40.426350Z",
                    "type": "fix-available"
                  },
                  {
                    "description": "Patch retrieved from the supplied URL; retrieval time is used as the default availability time.",
                    "id": "evt-fix-available-3",
                    "references": [
                      "https://github.com/ail-project/ail-framework/commit/221834638bbbc742ea217fac533a8976a72af848.patch"
                    ],
                    "timestamp": "2026-11-30T09:05:40.709447Z",
                    "type": "fix-available"
                  }
                ]
              }
            }
          },
          "recordType": "advisory",
          "vulnId": "GCVE-1-2026-20389"
        }
      ]
    }
  },
  "cveMetadata": {
    "cveId": "CVE-2026-138678",
    "datePublished": "2026-11-30T09:10:37.066100Z",
    "dateReserved": "2026-11-30T09:10:46.674Z",
    "dateUpdated": "2026-11-30T09:14:39.020673Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2.0"
}

GCVE-1-2026-20356

Vulnerability from gna-1 – Published: 2026-11-17 16:10 – Updated: 2026-11-17 16:10
VLAI
Title
nginx HTTP/2: Connection-level DoS via stale header field pointers after mid-block stream reset
Summary
A vulnerability exists in the HTTP/2 state machine of nginx (src/http/v2/ngx_http_v2.c). When a client sends an HTTP/2 header block that triggers a stream reset midway (for example, by including an invalid pseudo-header such as ":status" in a request), the function ngx_http_v2_state_field_len() skips subsequent non-indexed literal fields without properly initializing state.field_start and state.field_end. The downstream function ngx_http_v2_state_process_header() then computes the header name and value lengths from these stale pointers. If the stale pointers happen to be equal (as on a connection where no literal field has yet been read), the skipped field is incorrectly rejected as a zero-length header name, and the entire HTTP/2 connection is terminated with GOAWAY(PROTOCOL_ERROR) rather than only the offending stream being reset. In other cases, skipped fields are charged the encoded length of a previously read field against the header list size limit, leading to incorrect resource accounting. An unauthenticated remote attacker can exploit this by sending a single crafted HTTP/2 HEADERS frame containing an invalid pseudo-header followed by a literal header field. The result is the premature termination of the entire HTTP/2 connection, which can be repeated to cause a denial of service against the server's connection capacity. The secondary effect of incorrect header list size accounting could also be leveraged to bypass or distort the server's per-connection header size limits. The fix ensures that when a field is skipped due to a stream reset, state.field_start is explicitly set to NULL and the actual encoded length is recorded in state.header. The process_header function then only derives name and value lengths from the field pointers when the field was actually read (field_start is non-NULL), preserving correct size accounting and preventing the false protocol-error condition that tore down the connection.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
Supplier · CNA (v2.0.3)
Decision recorded 2026-11-17 16:08 UTC
CWE
  • CWE-20 - Improper Input Validation
  • CWE-665 - Improper Initialization
Assigner
CIRCL GNA GNA-1
GNA scorecard A 93/100 over 345 records in the last 180 days details
References
Impacted products
Vendor Product Version
nginx nginx HTTP/2 module Affected: unspecified
    cpe:2.3:a:nginx:nginx_http\/2_module:*:*:*:*:*:*:*:*
Create a notification for this product.
GCVE extensions
bcp-05-x-01
AI-assisted vulnerability information annotation
GCVE-BCP-05-X-01
Whole record AI-generated Not human-reviewed GNA-1

Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.

ai-computer-assisted:llm-generatedai-computer-assisted:classification
Model Source Identifier
qwen3.8:27b ollama qwen3.8:27b
bcp-05-x-02
Patch-to-vulnerability generation provenance
GCVE-BCP-05-X-02
Generator
patch2vuln.py on 2026-11-17 16:08
Model
qwen3.8:27b
Input
https://github.com/kool277/nginx/commit/7b185de7a3f15e545888380cae25b81594f490e1.patch 718197a690d2…
Confidence
medium
Commit Subject Patch SHA-256
7b185de7a3f1 HTTP/2: fixed skipped header fields after a stream reset. 718197a690d2…
Fix summary

The fix corrects the HTTP/2 state machine so that when a stream is reset mid-header-block, subsequent literal fields are properly marked as skipped (state.field_start set to NULL) and their true encoded length is recorded in state.header. The header processing function now only computes name/value lengths from field pointers for fields that were actually read, preventing both the false zero-length rejection that caused connection-level GOAWAY and the incorrect header list size accounting for skipped fields.

Patch summary

In ngx_http_v2_state_field_len(), when the stream is NULL and the field is non-indexed (i.e., being skipped), the patch sets state.field_start to NULL and records the field's encoded length into state.header.name.len or state.header.value.len (with data set to NULL) before calling the skip handler. In ngx_http_v2_state_process_header(), the name and value length assignments from field_start/field_end are now guarded by a NULL check on state.field_start, so skipped fields retain the length recorded during the skip phase. A new regression test (tests/regression/h2_reset_stream_skipped_field.t) verifies that a stream reset followed by a literal field does not produce GOAWAY, that the connection remains usable, and that a skipped field with an empty name still triggers PROTOCOL_ERROR.

CVSS rationale

AV:N: The vulnerability is exploitable over the network via a standard HTTP/2 connection. AC:L: The attack requires only sending a single crafted HEADERS frame with an invalid pseudo-header followed by a literal field; no race conditions or special timing are needed. AT:N: No manipulation of the attack target is required. PR:N: No authentication is needed to send HTTP/2 requests to a server. UI:N: No user interaction is required. VC:N, VI:N: No confidentiality or integrity impact is evident from the patch. VA:L: The impact is the termination of a single HTTP/2 connection (GOAWAY), which is a limited availability impact per instance; an attacker could repeat the attack across multiple connections but each instance only loses one connection. SC:N, SI:N, SA:N: No secondary component impact is indicated.

Weakness rationale
  • CWE-20 The HTTP/2 state machine does not properly handle the transition from active field parsing to field skipping when a stream is reset mid-header-block. The stale pointer state leads to incorrect validation decisions (false zero-length rejection) and incorrect size accounting, both of which are consequences of failing to properly validate and track the state of skipped input.
  • CWE-665 When entering the field-skip path, state.field_start and state.field_end are not re-initialized to reflect the skipped state. They retain values from a prior field, causing downstream logic to operate on stale data. The fix explicitly sets field_start to NULL to mark the field as skipped.
Attack pattern rationale
  • CAPEC-107 The attacker sends a crafted HTTP/2 header block that triggers a stream reset (via an invalid pseudo-header) followed by a literal field, manipulating the server's internal HTTP/2 state machine into an inconsistent state where stale pointers cause a false protocol error and connection teardown. This is the closest CAPEC to the observed attack: the attacker exploits the application's state management logic by forcing a specific state transition sequence. Uncertainty: no CAPEC specifically covers HTTP/2 protocol state manipulation; CAPEC-107 is the best available match for exploiting state machine inconsistencies.
Assumptions to verify
  • The affected nginx version range is not specified in the patch; the commit references nginx/nginx#1977 but no version boundary is provided.
  • The CVSS VA:L rating assumes the impact is limited to a single HTTP/2 connection per attack instance; if the server has a very small connection pool, the practical DoS impact could be higher.
  • CAPEC-107 (State Manipulation) is the closest available CAPEC; no CAPEC specifically addresses HTTP/2 protocol state machine manipulation, so this mapping is approximate.
  • The secondary impact of incorrect header list size accounting (skipped fields charged with wrong lengths) is assessed as not independently exploitable for a distinct security impact beyond the primary DoS vector.
  • The patch is from a fork (kool277/nginx); it is assumed to correspond to an upstream nginx fix, but the exact upstream commit and version are not confirmed in the supplied metadata.
  • No evidence of authentication requirements, deployment topology, or multi-tenant context is present; the analysis assumes a standard single-tenant nginx HTTP/2 server.
Model comparison

Selected qwen3.8:27b by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.

Model Score Agreement Confidence Assumptions
qwen3.8:27b 6 11 medium 6
bcp-05-x-03
Vulnerability handling and disclosure timeline
GCVE-BCP-05-X-03
  1. 2026-11-14 11:00 UTC Fix developed Corrective change authored (7b185de7a3f15e545888380cae25b81594f490e1): HTTP/2: fixed skipped header fields after a stream reset. https://github.com/kool277/nginx/commit/7b185de7a3f15e545888380cae25b81594f490e1.patch
  2. 2026-11-17 16:07 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/kool277/nginx/commit/7b185de7a3f15e545888380cae25b81594f490e1.patch

{
  "containers": {
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:nginx:nginx_http\\/2_module:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "src/http/v2/ngx_http_v2.c"
          ],
          "product": "nginx HTTP/2 module",
          "programFiles": [
            "src/http/v2/ngx_http_v2.c"
          ],
          "repo": "https://github.com/kool277/nginx",
          "vendor": "nginx",
          "versions": [
            {
              "status": "affected",
              "version": "unspecified"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:nginx:nginx_http\\/2_module:*:*:*:*:*:*:*:*",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Ashrafov Jasur"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Claude Opus 5.5"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "A vulnerability exists in the HTTP/2 state machine of nginx (src/http/v2/ngx_http_v2.c). When a client sends an HTTP/2 header block that triggers a stream reset midway (for example, by including an invalid pseudo-header such as \":status\" in a request), the function ngx_http_v2_state_field_len() skips subsequent non-indexed literal fields without properly initializing state.field_start and state.field_end. The downstream function ngx_http_v2_state_process_header() then computes the header name and value lengths from these stale pointers. If the stale pointers happen to be equal (as on a connection where no literal field has yet been read), the skipped field is incorrectly rejected as a zero-length header name, and the entire HTTP/2 connection is terminated with GOAWAY(PROTOCOL_ERROR) rather than only the offending stream being reset. In other cases, skipped fields are charged the encoded length of a previously read field against the header list size limit, leading to incorrect resource accounting.\n\nAn unauthenticated remote attacker can exploit this by sending a single crafted HTTP/2 HEADERS frame containing an invalid pseudo-header followed by a literal header field. The result is the premature termination of the entire HTTP/2 connection, which can be repeated to cause a denial of service against the server\u0027s connection capacity. The secondary effect of incorrect header list size accounting could also be leveraged to bypass or distort the server\u0027s per-connection header size limits.\n\nThe fix ensures that when a field is skipped due to a stream reset, state.field_start is explicitly set to NULL and the actual encoded length is recorded in state.header. The process_header function then only derives name and value lengths from the field pointers when the field was actually read (field_start is non-NULL), preserving correct size accounting and preventing the false protocol-error condition that tore down the connection."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-107",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-107 State Manipulation"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 6.9,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "LOW",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "SSVC",
          "other": {
            "content": {
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "role": "Supplier",
              "timestamp": "2026-11-17T16:08:12Z",
              "version": "2.0.3"
            },
            "type": "SSVC"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-20",
              "description": "CWE-20 Improper Input Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-665",
              "description": "CWE-665 Improper Initialization",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "name": "Security patch",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/kool277/nginx/commit/7b185de7a3f15e545888380cae25b81594f490e1"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "The fix corrects the HTTP/2 state machine so that when a stream is reset mid-header-block, subsequent literal fields are properly marked as skipped (state.field_start set to NULL) and their true encoded length is recorded in state.header. The header processing function now only computes name/value lengths from field pointers for fields that were actually read, preventing both the false zero-length rejection that caused connection-level GOAWAY and the incorrect header list size accounting for skipped fields."
        }
      ],
      "title": "nginx HTTP/2: Connection-level DoS via stale header field pointers after mid-block stream reset",
      "x_gcve": [
        {
          "extensions": {
            "bcp-05-x-01": {
              "ai_annotations": [
                {
                  "ai_level": "generated",
                  "description": "Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.",
                  "gna_source": 1,
                  "models": [
                    {
                      "gna_source": 1,
                      "identifier": "qwen3.8:27b",
                      "name": "qwen3.8:27b",
                      "source": "ollama"
                    }
                  ],
                  "review_status": "none",
                  "scope": "record",
                  "tags": [
                    "ai-computer-assisted:llm-generated",
                    "ai-computer-assisted:classification"
                  ]
                }
              ]
            },
            "bcp-05-x-02": {
              "x_patch2vuln": {
                "assumptions": [
                  "The affected nginx version range is not specified in the patch; the commit references nginx/nginx#1977 but no version boundary is provided.",
                  "The CVSS VA:L rating assumes the impact is limited to a single HTTP/2 connection per attack instance; if the server has a very small connection pool, the practical DoS impact could be higher.",
                  "CAPEC-107 (State Manipulation) is the closest available CAPEC; no CAPEC specifically addresses HTTP/2 protocol state machine manipulation, so this mapping is approximate.",
                  "The secondary impact of incorrect header list size accounting (skipped fields charged with wrong lengths) is assessed as not independently exploitable for a distinct security impact beyond the primary DoS vector.",
                  "The patch is from a fork (kool277/nginx); it is assumed to correspond to an upstream nginx fix, but the exact upstream commit and version are not confirmed in the supplied metadata.",
                  "No evidence of authentication requirements, deployment topology, or multi-tenant context is present; the analysis assumes a standard single-tenant nginx HTTP/2 server."
                ],
                "capecRationale": [
                  {
                    "capecId": "CAPEC-107",
                    "rationale": "The attacker sends a crafted HTTP/2 header block that triggers a stream reset (via an invalid pseudo-header) followed by a literal field, manipulating the server\u0027s internal HTTP/2 state machine into an inconsistent state where stale pointers cause a false protocol error and connection teardown. This is the closest CAPEC to the observed attack: the attacker exploits the application\u0027s state management logic by forcing a specific state transition sequence. Uncertainty: no CAPEC specifically covers HTTP/2 protocol state manipulation; CAPEC-107 is the best available match for exploiting state machine inconsistencies."
                  }
                ],
                "commit": "7b185de7a3f15e545888380cae25b81594f490e1",
                "confidence": "medium",
                "credits": [
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Ashrafov Jasur"
                  },
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Claude Opus 5.5"
                  }
                ],
                "cvssRationale": "AV:N: The vulnerability is exploitable over the network via a standard HTTP/2 connection. AC:L: The attack requires only sending a single crafted HEADERS frame with an invalid pseudo-header followed by a literal field; no race conditions or special timing are needed. AT:N: No manipulation of the attack target is required. PR:N: No authentication is needed to send HTTP/2 requests to a server. UI:N: No user interaction is required. VC:N, VI:N: No confidentiality or integrity impact is evident from the patch. VA:L: The impact is the termination of a single HTTP/2 connection (GOAWAY), which is a limited availability impact per instance; an attacker could repeat the attack across multiple connections but each instance only loses one connection. SC:N, SI:N, SA:N: No secondary component impact is indicated.",
                "draft": true,
                "fixSummary": "The fix corrects the HTTP/2 state machine so that when a stream is reset mid-header-block, subsequent literal fields are properly marked as skipped (state.field_start set to NULL) and their true encoded length is recorded in state.header. The header processing function now only computes name/value lengths from field pointers for fields that were actually read, preventing both the false zero-length rejection that caused connection-level GOAWAY and the incorrect header list size accounting for skipped fields.",
                "generatedAt": "2026-11-17T16:08:12.480675Z",
                "generator": "patch2vuln.py",
                "model": "qwen3.8:27b",
                "modelComparison": {
                  "potentialErrors": [],
                  "rankings": [
                    {
                      "agreementScore": 11,
                      "assumptionCount": 6,
                      "confidence": "medium",
                      "model": "qwen3.8:27b",
                      "score": 6
                    }
                  ],
                  "selectedModel": "qwen3.8:27b",
                  "selectionMethod": "deterministic-consensus-v1",
                  "selectionNotice": "The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."
                },
                "patchSha256": "718197a690d2b6db645246443c0454c530412644b743df197d6fc92e34ba7a59",
                "patchSummary": "In ngx_http_v2_state_field_len(), when the stream is NULL and the field is non-indexed (i.e., being skipped), the patch sets state.field_start to NULL and records the field\u0027s encoded length into state.header.name.len or state.header.value.len (with data set to NULL) before calling the skip handler. In ngx_http_v2_state_process_header(), the name and value length assignments from field_start/field_end are now guarded by a NULL check on state.field_start, so skipped fields retain the length recorded during the skip phase. A new regression test (tests/regression/h2_reset_stream_skipped_field.t) verifies that a stream reset followed by a literal field does not produce GOAWAY, that the connection remains usable, and that a skipped field with an empty name still triggers PROTOCOL_ERROR.",
                "patchTruncated": false,
                "patches": [
                  {
                    "commit": "7b185de7a3f15e545888380cae25b81594f490e1",
                    "date": "Sat, 14 Nov 2026 16:00:44 +0500",
                    "patchSha256": "718197a690d2b6db645246443c0454c530412644b743df197d6fc92e34ba7a59",
                    "retrievedAt": "2026-11-17T16:07:25.730817Z",
                    "source": "https://github.com/kool277/nginx/commit/7b185de7a3f15e545888380cae25b81594f490e1.patch",
                    "sourceUrl": "https://github.com/kool277/nginx/commit/7b185de7a3f15e545888380cae25b81594f490e1.patch",
                    "subject": "HTTP/2: fixed skipped header fields after a stream reset."
                  }
                ],
                "source": "https://github.com/kool277/nginx/commit/7b185de7a3f15e545888380cae25b81594f490e1.patch",
                "ssvc": {
                  "options": [
                    {
                      "Exploitation": "none"
                    },
                    {
                      "Automatable": "yes"
                    },
                    {
                      "Technical Impact": "partial"
                    }
                  ],
                  "role": "Supplier",
                  "timestamp": "2026-11-17T16:08:12Z",
                  "version": "2.0.3"
                },
                "subject": "HTTP/2: fixed skipped header fields after a stream reset.",
                "weaknessRationale": [
                  {
                    "cweId": "CWE-20",
                    "rationale": "The HTTP/2 state machine does not properly handle the transition from active field parsing to field skipping when a stream is reset mid-header-block. The stale pointer state leads to incorrect validation decisions (false zero-length rejection) and incorrect size accounting, both of which are consequences of failing to properly validate and track the state of skipped input."
                  },
                  {
                    "cweId": "CWE-665",
                    "rationale": "When entering the field-skip path, state.field_start and state.field_end are not re-initialized to reflect the skipped state. They retain values from a prior field, causing downstream logic to operate on stale data. The fix explicitly sets field_start to NULL to mark the field as skipped."
                  }
                ]
              }
            },
            "bcp-05-x-03": {
              "x_timeline": {
                "events": [
                  {
                    "description": "Corrective change authored (7b185de7a3f15e545888380cae25b81594f490e1): HTTP/2: fixed skipped header fields after a stream reset.",
                    "id": "evt-fix-developed-1",
                    "references": [
                      "https://github.com/kool277/nginx/commit/7b185de7a3f15e545888380cae25b81594f490e1.patch"
                    ],
                    "timestamp": "2026-11-14T11:00:44Z",
                    "type": "fix-developed"
                  },
                  {
                    "description": "Patch retrieved from the supplied URL; retrieval time is used as the default availability time.",
                    "id": "evt-fix-available-1",
                    "references": [
                      "https://github.com/kool277/nginx/commit/7b185de7a3f15e545888380cae25b81594f490e1.patch"
                    ],
                    "timestamp": "2026-11-17T16:07:25.730817Z",
                    "type": "fix-available"
                  }
                ]
              }
            }
          },
          "recordType": "advisory",
          "vulnId": "GCVE-1-2026-20356"
        }
      ]
    }
  },
  "cveMetadata": {
    "datePublished": "2026-11-17T16:10:37.898681Z",
    "dateUpdated": "2026-11-17T16:10:37.898681Z",
    "state": "PUBLISHED",
    "vulnId": "GCVE-1-2026-20356"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2.0"
}

GCVE-1-2026-20344 (CVE-2026-116469)

Vulnerability from gna-1 – Published: 2026-10-26 10:34 – Updated: 2026-10-27 18:14
VLAI
Title
MISP Guard Case-Sensitive Policy Bypass Allows Unauthorized Feed Data Forwarding
Summary
MISP Guard, a proxy-based security filter for MISP feed distribution, contains a case-sensitivity flaw in multiple policy enforcement checks. The functions check_required_taxonomy_exists, check_required_taxonomy_tags_allowed, check_blocked_attribute_categories, and check_blocked_analyst_data_sharing_groups_uuids performed case-sensitive string comparisons when matching event tags, attribute categories, and sharing-group UUIDs against configured allow/block lists. An attacker with the ability to create or modify events in a MISP instance (or a connected instance that pushes events through the guard) could craft events using different letter case in taxonomy tag names, attribute categories, or sharing-group UUIDs to bypass the configured security policies. For example, if the policy requires the 'tlp' taxonomy with only 'tlp:clear' allowed, an event tagged 'TLP:AMBER' would not be recognized as belonging to the 'tlp' taxonomy and would therefore not be checked against the allowed-tags list, resulting in the event being forwarded to feed consumers. Similarly, a blocked attribute category such as 'Person' would not match a configured block entry of 'person', allowing the attribute to pass through the filter. The security impact is unauthorized disclosure of threat-intelligence data that the operator intended to restrict. Events carrying non-allowed TLP (Traffic Light Protocol) markings, blocked attribute categories, or blocked sharing-group associations are forwarded to downstream feed consumers in violation of the configured distribution policy. This undermines the confidentiality controls that MISP Guard is designed to enforce. The vulnerability is trivially exploitable: the attacker only needs to alter the letter case of a tag, category, or UUID string. No authentication beyond normal MISP event-creation privileges is required, and no user interaction is needed.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
Supplier · CNA (v2.0.3)
Decision recorded 2026-10-26 10:33 UTC
CWE
  • CWE-178 - Improper Handling of Case Sensitivity
  • CWE-20 - Improper Input Validation
Assigner
CIRCL GNA GNA-1
GNA scorecard A 93/100 over 345 records in the last 180 days details
References
Impacted products
Vendor Product Version
MISP misp-guard Affected: 0 , ≤ 1.3 (semver)
    cpe:2.3:a:misp:misp-guard:*:*:*:*:*:*:*:*
Create a notification for this product.
GCVE extensions
bcp-05-x-01
AI-assisted vulnerability information annotation
GCVE-BCP-05-X-01
Whole record AI-generated Partially reviewed GNA-1

Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.

ai-computer-assisted:llm-generatedai-computer-assisted:classification
Model Source Identifier
qwen3.8:27b ollama qwen3.8:27b
bcp-05-x-02
Patch-to-vulnerability generation provenance
GCVE-BCP-05-X-02
Generator
patch2vuln.py on 2026-10-26 10:33
Model
qwen3.8:27b
Input
https://github.com/MISP/misp-guard/commit/9868b1d93fc9cc40cc7c69ca11c86afd825bbc1c.patch 26a847175a70…
Confidence
medium
Commit Subject Patch SHA-256
9868b1d93fc9 fix: [security] match categories and required taxonomies 26a847175a70…
Fix summary

The fix makes all policy-matching comparisons case-insensitive by applying .lower() to both the input value (tag name, attribute category, sharing-group UUID) and the configured policy value (required taxonomy prefix, allowed tags, blocked categories, blocked UUIDs) before performing the comparison. This ensures that a tag such as 'TLP:AMBER' is correctly recognized as belonging to the 'tlp' taxonomy and is checked against the allowed-tags list, and that a blocked category or UUID is matched regardless of letter case.

Patch summary

In src/mispguard.py, four comparison sites were changed: (1) check_required_taxonomy_exists now uses tag['name'].lower().startswith(required_taxonomy.lower() + ':') instead of a case-sensitive startswith; (2) check_required_taxonomy_tags_allowed applies .lower() to both the tag name and the required taxonomy prefix in the startswith check; (3) check_blocked_attribute_categories compares attribute['category'].lower() against a lowercased list of blocked categories; (4) check_blocked_analyst_data_sharing_groups_uuids compares the UUID in lowercase against a lowercased list of blocked UUIDs. Ninety-one lines of test cases were added to src/test/test_misp_guard.py covering mixed-case TLP tags in required-taxonomy checks and mixed-case blocked attribute categories.

CVSS rationale

AV:N: The MISP feed is consumed over the network (HTTP). AC:L: Exploitation requires only changing the letter case of a tag, category, or UUID string. AT:N: No log or audit tampering is needed. PR:L: The attacker needs the ability to create or modify events in a MISP instance, which typically requires a low-privilege user account or a connected instance. UI:N: No user interaction is required. VC:H: The primary impact is unauthorized disclosure of data that the operator intended to restrict (non-allowed TLP tags, blocked categories, blocked sharing groups are forwarded to feed consumers). VI:N: The data content is not modified, only improperly shared. VA:N: No availability impact. SC/SI/SA:N: No secondary system impact is evidenced.

Weakness rationale
  • CWE-178 The root cause is that string comparisons used to enforce security policies (taxonomy prefix matching, category blocking, UUID blocking) were case-sensitive, allowing an attacker to bypass the checks by altering letter case. CWE-178 is the most specific and accurate mapping.
  • CWE-20 More broadly, the guard failed to validate input against the policy in a canonical form, which is a form of improper input validation. CWE-20 is included as a secondary, broader mapping.
Attack pattern rationale
  • CAPEC-10 The attacker tampers with the letter case of tag names, attribute categories, or sharing-group UUIDs in MISP events to bypass the guard's policy checks. This is a form of parameter tampering where the input is modified in a way that the validation logic does not anticipate. CAPEC-10 is the closest available pattern; the uncertainty is that the tampering occurs in structured event data rather than in a traditional request parameter, but the underlying technique (modifying input to evade validation) aligns with this pattern.
Assumptions to verify
  • The MISP Guard is assumed to operate as a proxy filtering outbound MISP feed data; the attacker is assumed to have the ability to create or modify events in a MISP instance that feeds through the guard. The patch does not specify the exact deployment topology.
  • PR:L assumes that creating events in MISP requires at least a low-privilege authenticated account. If the guard is used in a context where events are pushed from a connected MISP instance without per-event authentication, PR could be None.
  • The CAPEC-10 mapping is the closest available pattern; the actual attack involves modifying structured JSON event fields rather than traditional HTTP parameters, so the mapping is approximate.
  • No specific affected or fixed version numbers are provided in the patch metadata; the version range is marked as unspecified.
  • The commit message references 'ID 004' as a prior related fix, suggesting this is a follow-up to an earlier incomplete case-sensitivity fix, but no further details about that prior fix are available in the patch.
Model comparison

Selected qwen3.8:27b by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.

Model Score Agreement Confidence Assumptions
qwen3.8:27b 7 11 medium 5
bcp-05-x-03
Vulnerability handling and disclosure timeline
GCVE-BCP-05-X-03
  1. 2026-10-26 09:25 UTC Fix developed Corrective change authored (9868b1d93fc9cc40cc7c69ca11c86afd825bbc1c): fix: [security] match categories and required taxonomies https://github.com/MISP/misp-guard/commit/9868b1d93fc9cc40cc7c69ca11c86afd825bbc1c.patch

{
  "containers": {
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:misp:misp-guard:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "src/mispguard.py"
          ],
          "product": "misp-guard",
          "programFiles": [
            "src/mispguard.py"
          ],
          "repo": "https://github.com/MISP/misp-guard",
          "vendor": "MISP",
          "versions": [
            {
              "lessThanOrEqual": "1.3",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Luciano Righetti"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Claude Opus 5.5 (1M context)"
        },
        {
          "lang": "en",
          "type": "tool",
          "value": "Claude Opus 5.5 (1M context)"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eMISP Guard, a proxy-based security filter for MISP feed distribution, contains a case-sensitivity flaw in multiple policy enforcement checks. The functions check_required_taxonomy_exists, check_required_taxonomy_tags_allowed, check_blocked_attribute_categories, and check_blocked_analyst_data_sharing_groups_uuids performed case-sensitive string comparisons when matching event tags, attribute categories, and sharing-group UUIDs against configured allow/block lists.\u003c/p\u003e\u003cp\u003eAn attacker with the ability to create or modify events in a MISP instance (or a connected instance that pushes events through the guard) could craft events using different letter case in taxonomy tag names, attribute categories, or sharing-group UUIDs to bypass the configured security policies. For example, if the policy requires the \u0027tlp\u0027 taxonomy with only \u0027tlp:clear\u0027 allowed, an event tagged \u0027TLP:AMBER\u0027 would not be recognized as belonging to the \u0027tlp\u0027 taxonomy and would therefore not be checked against the allowed-tags list, resulting in the event being forwarded to feed consumers. Similarly, a blocked attribute category such as \u0027Person\u0027 would not match a configured block entry of \u0027person\u0027, allowing the attribute to pass through the filter.\u003c/p\u003e\u003cp\u003eThe security impact is unauthorized disclosure of threat-intelligence data that the operator intended to restrict. Events carrying non-allowed TLP (Traffic Light Protocol) markings, blocked attribute categories, or blocked sharing-group associations are forwarded to downstream feed consumers in violation of the configured distribution policy. This undermines the confidentiality controls that MISP Guard is designed to enforce.\u003c/p\u003e\u003cp\u003eThe vulnerability is trivially exploitable: the attacker only needs to alter the letter case of a tag, category, or UUID string. No authentication beyond normal MISP event-creation privileges is required, and no user interaction is needed.\u003c/p\u003e"
            }
          ],
          "value": "MISP Guard, a proxy-based security filter for MISP feed distribution, contains a case-sensitivity flaw in multiple policy enforcement checks. The functions check_required_taxonomy_exists, check_required_taxonomy_tags_allowed, check_blocked_attribute_categories, and check_blocked_analyst_data_sharing_groups_uuids performed case-sensitive string comparisons when matching event tags, attribute categories, and sharing-group UUIDs against configured allow/block lists.\n\nAn attacker with the ability to create or modify events in a MISP instance (or a connected instance that pushes events through the guard) could craft events using different letter case in taxonomy tag names, attribute categories, or sharing-group UUIDs to bypass the configured security policies. For example, if the policy requires the \u0027tlp\u0027 taxonomy with only \u0027tlp:clear\u0027 allowed, an event tagged \u0027TLP:AMBER\u0027 would not be recognized as belonging to the \u0027tlp\u0027 taxonomy and would therefore not be checked against the allowed-tags list, resulting in the event being forwarded to feed consumers. Similarly, a blocked attribute category such as \u0027Person\u0027 would not match a configured block entry of \u0027person\u0027, allowing the attribute to pass through the filter.\n\nThe security impact is unauthorized disclosure of threat-intelligence data that the operator intended to restrict. Events carrying non-allowed TLP (Traffic Light Protocol) markings, blocked attribute categories, or blocked sharing-group associations are forwarded to downstream feed consumers in violation of the configured distribution policy. This undermines the confidentiality controls that MISP Guard is designed to enforce.\n\nThe vulnerability is trivially exploitable: the attacker only needs to alter the letter case of a tag, category, or UUID string. No authentication beyond normal MISP event-creation privileges is required, and no user interaction is needed."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-10",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-10 Parameter Tampering"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "SSVC",
          "other": {
            "content": {
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "role": "Supplier",
              "timestamp": "2026-10-26T10:33:59Z",
              "version": "2.0.3"
            },
            "type": "SSVC"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-178",
              "description": "CWE-178 Improper Handling of Case Sensitivity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-20",
              "description": "CWE-20 Improper Input Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "00000000-0000-4000-9000-000000000000"
      },
      "references": [
        {
          "name": "Security patch",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/MISP/misp-guard/commit/9868b1d93fc9cc40cc7c69ca11c86afd825bbc1c"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe fix makes all policy-matching comparisons case-insensitive by applying .lower() to both the input value (tag name, attribute category, sharing-group UUID) and the configured policy value (required taxonomy prefix, allowed tags, blocked categories, blocked UUIDs) before performing the comparison. This ensures that a tag such as \u0027TLP:AMBER\u0027 is correctly recognized as belonging to the \u0027tlp\u0027 taxonomy and is checked against the allowed-tags list, and that a blocked category or UUID is matched regardless of letter case.\u003c/p\u003e"
            }
          ],
          "value": "The fix makes all policy-matching comparisons case-insensitive by applying .lower() to both the input value (tag name, attribute category, sharing-group UUID) and the configured policy value (required taxonomy prefix, allowed tags, blocked categories, blocked UUIDs) before performing the comparison. This ensures that a tag such as \u0027TLP:AMBER\u0027 is correctly recognized as belonging to the \u0027tlp\u0027 taxonomy and is checked against the allowed-tags list, and that a blocked category or UUID is matched regardless of letter case."
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "MISP Guard Case-Sensitive Policy Bypass Allows Unauthorized Feed Data Forwarding",
      "x_gcve": [
        {
          "extensions": {
            "bcp-05-x-01": {
              "ai_annotations": [
                {
                  "ai_level": "generated",
                  "description": "Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.",
                  "gna_source": 1,
                  "models": [
                    {
                      "gna_source": 1,
                      "identifier": "qwen3.8:27b",
                      "name": "qwen3.8:27b",
                      "source": "ollama"
                    }
                  ],
                  "review_status": "partial",
                  "scope": "record",
                  "tags": [
                    "ai-computer-assisted:llm-generated",
                    "ai-computer-assisted:classification"
                  ]
                }
              ]
            },
            "bcp-05-x-02": {
              "x_patch2vuln": {
                "assumptions": [
                  "The MISP Guard is assumed to operate as a proxy filtering outbound MISP feed data; the attacker is assumed to have the ability to create or modify events in a MISP instance that feeds through the guard. The patch does not specify the exact deployment topology.",
                  "PR:L assumes that creating events in MISP requires at least a low-privilege authenticated account. If the guard is used in a context where events are pushed from a connected MISP instance without per-event authentication, PR could be None.",
                  "The CAPEC-10 mapping is the closest available pattern; the actual attack involves modifying structured JSON event fields rather than traditional HTTP parameters, so the mapping is approximate.",
                  "No specific affected or fixed version numbers are provided in the patch metadata; the version range is marked as unspecified.",
                  "The commit message references \u0027ID 004\u0027 as a prior related fix, suggesting this is a follow-up to an earlier incomplete case-sensitivity fix, but no further details about that prior fix are available in the patch."
                ],
                "capecRationale": [
                  {
                    "capecId": "CAPEC-10",
                    "rationale": "The attacker tampers with the letter case of tag names, attribute categories, or sharing-group UUIDs in MISP events to bypass the guard\u0027s policy checks. This is a form of parameter tampering where the input is modified in a way that the validation logic does not anticipate. CAPEC-10 is the closest available pattern; the uncertainty is that the tampering occurs in structured event data rather than in a traditional request parameter, but the underlying technique (modifying input to evade validation) aligns with this pattern."
                  }
                ],
                "commit": "9868b1d93fc9cc40cc7c69ca11c86afd825bbc1c",
                "confidence": "medium",
                "credits": [
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Luciano Righetti"
                  },
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Claude Opus 5.5 (1M context)"
                  },
                  {
                    "lang": "en",
                    "type": "tool",
                    "value": "Claude Opus 5.5 (1M context)"
                  }
                ],
                "cvssRationale": "AV:N: The MISP feed is consumed over the network (HTTP). AC:L: Exploitation requires only changing the letter case of a tag, category, or UUID string. AT:N: No log or audit tampering is needed. PR:L: The attacker needs the ability to create or modify events in a MISP instance, which typically requires a low-privilege user account or a connected instance. UI:N: No user interaction is required. VC:H: The primary impact is unauthorized disclosure of data that the operator intended to restrict (non-allowed TLP tags, blocked categories, blocked sharing groups are forwarded to feed consumers). VI:N: The data content is not modified, only improperly shared. VA:N: No availability impact. SC/SI/SA:N: No secondary system impact is evidenced.",
                "fixSummary": "The fix makes all policy-matching comparisons case-insensitive by applying .lower() to both the input value (tag name, attribute category, sharing-group UUID) and the configured policy value (required taxonomy prefix, allowed tags, blocked categories, blocked UUIDs) before performing the comparison. This ensures that a tag such as \u0027TLP:AMBER\u0027 is correctly recognized as belonging to the \u0027tlp\u0027 taxonomy and is checked against the allowed-tags list, and that a blocked category or UUID is matched regardless of letter case.",
                "generatedAt": "2026-10-26T10:33:59.935580Z",
                "generator": "patch2vuln.py",
                "model": "qwen3.8:27b",
                "modelComparison": {
                  "rankings": [
                    {
                      "agreementScore": 11,
                      "assumptionCount": 5,
                      "confidence": "medium",
                      "model": "qwen3.8:27b",
                      "score": 7
                    }
                  ],
                  "selectedModel": "qwen3.8:27b",
                  "selectionMethod": "deterministic-consensus-v1",
                  "selectionNotice": "The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."
                },
                "patchSha256": "26a847175a70394b7c0feaa57f7286f41fb131fc28c4c540412e88018c749628",
                "patchSummary": "In src/mispguard.py, four comparison sites were changed: (1) check_required_taxonomy_exists now uses tag[\u0027name\u0027].lower().startswith(required_taxonomy.lower() + \u0027:\u0027) instead of a case-sensitive startswith; (2) check_required_taxonomy_tags_allowed applies .lower() to both the tag name and the required taxonomy prefix in the startswith check; (3) check_blocked_attribute_categories compares attribute[\u0027category\u0027].lower() against a lowercased list of blocked categories; (4) check_blocked_analyst_data_sharing_groups_uuids compares the UUID in lowercase against a lowercased list of blocked UUIDs. Ninety-one lines of test cases were added to src/test/test_misp_guard.py covering mixed-case TLP tags in required-taxonomy checks and mixed-case blocked attribute categories.",
                "patchTruncated": false,
                "patches": [
                  {
                    "commit": "9868b1d93fc9cc40cc7c69ca11c86afd825bbc1c",
                    "date": "Mon, 26 Oct 2026 10:25:52 +0100",
                    "patchSha256": "26a847175a70394b7c0feaa57f7286f41fb131fc28c4c540412e88018c749628",
                    "source": "https://github.com/MISP/misp-guard/commit/9868b1d93fc9cc40cc7c69ca11c86afd825bbc1c.patch",
                    "sourceUrl": "https://github.com/MISP/misp-guard/commit/9868b1d93fc9cc40cc7c69ca11c86afd825bbc1c.patch",
                    "subject": "fix: [security] match categories and required taxonomies"
                  }
                ],
                "source": "https://github.com/MISP/misp-guard/commit/9868b1d93fc9cc40cc7c69ca11c86afd825bbc1c.patch",
                "ssvc": {
                  "options": [
                    {
                      "Exploitation": "none"
                    },
                    {
                      "Automatable": "yes"
                    },
                    {
                      "Technical Impact": "partial"
                    }
                  ],
                  "role": "Supplier",
                  "timestamp": "2026-10-26T10:33:59Z",
                  "version": "2.0.3"
                },
                "subject": "fix: [security] match categories and required taxonomies",
                "weaknessRationale": [
                  {
                    "cweId": "CWE-178",
                    "rationale": "The root cause is that string comparisons used to enforce security policies (taxonomy prefix matching, category blocking, UUID blocking) were case-sensitive, allowing an attacker to bypass the checks by altering letter case. CWE-178 is the most specific and accurate mapping."
                  },
                  {
                    "cweId": "CWE-20",
                    "rationale": "More broadly, the guard failed to validate input against the policy in a canonical form, which is a form of improper input validation. CWE-20 is included as a secondary, broader mapping."
                  }
                ]
              }
            },
            "bcp-05-x-03": {
              "x_timeline": {
                "events": [
                  {
                    "description": "Corrective change authored (9868b1d93fc9cc40cc7c69ca11c86afd825bbc1c): fix: [security] match categories and required taxonomies",
                    "id": "evt-fix-developed-1",
                    "references": [
                      "https://github.com/MISP/misp-guard/commit/9868b1d93fc9cc40cc7c69ca11c86afd825bbc1c.patch"
                    ],
                    "timestamp": "2026-10-26T09:25:52Z",
                    "type": "fix-developed"
                  }
                ]
              }
            }
          },
          "recordType": "advisory",
          "vulnId": "GCVE-1-2026-20344"
        }
      ],
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "00000000-0000-4000-9000-000000000000",
    "cveId": "CVE-2026-116469",
    "datePublished": "2026-10-26T10:34:00.000Z",
    "dateReserved": "2026-10-26T10:35:00.000Z",
    "dateUpdated": "2026-10-27T18:14:21.570572Z",
    "requesterUserId": "00000000-0000-4000-9000-000000000000",
    "serial": 1,
    "state": "PUBLISHED",
    "vulnId": "GCVE-1-2026-20344"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

GCVE-1-2026-20338 (CVE-2026-129919)

Vulnerability from gna-1 – Published: 2026-11-16 13:48 – Updated: 2026-11-16 13:49
VLAI
Title
Kunai Mount Namespace Cache TOCTOU Allows Incorrect Event Resolution Against Host Files
Summary
Kunai, a security monitoring tool, contains a time-of-check to time-of-use (TOCTOU) race condition in its mount namespace (mnt ns) caching logic. When resolving a security event that references a specific process PID and an expected mount namespace, the Switcher::new function read /proc/<pid>/ns/mnt to determine the target namespace and cached the result under the expected namespace key without verifying that the resolved namespace actually matched the expected one. An attacker with local access could exploit this by either (1) arranging for the referenced PID to be reused by a process in a different namespace (e.g., the host namespace) before Kunai resolves it, or (2) calling unshare or setns on the target process after the event is generated but before the namespace is resolved. In either case, the wrong namespace (potentially the host's own namespace) would be cached under the container's namespace key. The security impact is that subsequent container security events would be resolved against host filesystem paths rather than container paths. This undermines the integrity of the security monitoring data: container activity could be misattributed to the host, host activity could be misattributed to a container, and file-path-based detections or alerts would reference incorrect paths. An attacker could potentially use this to obscure malicious activity within a container by making it appear as benign host activity, or to generate misleading security alerts. The vulnerability requires local access to the system and a specific timing window between event generation and namespace resolution. No remote attack vector or user interaction is required.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
Supplier · CNA (v2.0.3)
Decision recorded 2026-11-16 13:44 UTC
CWE
  • CWE-367 - TOCTOU Race Condition
  • CWE-20 - Improper Input Validation
Assigner
CIRCL GNA GNA-1
GNA scorecard A 93/100 over 345 records in the last 180 days details
References
Impacted products
Vendor Product Version
kunai-project Kunai Affected: 0 , ≤ 0.6.2 (semver)
    cpe:2.3:a:kunai-project:kunai:*:*:*:*:*:*:*:*
Create a notification for this product.
GCVE extensions
bcp-05-x-01
AI-assisted vulnerability information annotation
GCVE-BCP-05-X-01
Whole record AI-generated Human-reviewed GNA-1

Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.

ai-computer-assisted:llm-generatedai-computer-assisted:classification
Model Source Identifier
qwen3.8:27b ollama qwen3.8:27b
bcp-05-x-02
Patch-to-vulnerability generation provenance
GCVE-BCP-05-X-02
Generator
patch2vuln.py on 2026-11-16 13:44
Model
qwen3.8:27b
Input
https://github.com/kunai-project/kunai/commit/0ad82911a6b72c81c55507fdabb9baad1ad1ad02.patch 1423cf59bf37…
Confidence
medium
Commit Subject Patch SHA-256
0ad82911a6b7 fix(namespace): verify opened mnt ns fd identity 1423cf59bf37…
Fix summary

The fix eliminates the TOCTOU race by opening the namespace file once to obtain a stable file descriptor, then reading the inode number from that fd via fstat/metadata and comparing it against the expected namespace's inode number. If the inodes do not match, the switcher creation is rejected with an UnexpectedNsInode error and nothing is cached, so the event is simply not enriched. This ensures the cached namespace identity is verified atomically from the opened fd rather than from a separate /proc lookup that could be affected by PID reuse or namespace changes.

Patch summary

In kunai/src/util/namespace.rs, Switcher::new now accepts an additional expected: &N parameter. Instead of calling N::from_pid to resolve the namespace (a separate /proc lookup), it calls N::open to get a stable fd, reads the inode via metadata().ino(), and compares it to expected.inum(). On mismatch it returns NsError::UnexpectedNsInode. A new NsError variant UnexpectedNsInode { cur, exp } is added. In kunai/src/cache.rs, the call site is updated to pass the expected namespace (&ns) to Switcher::new. Three new unit tests are added: one verifying that the cache rejects the host's own namespace when a different namespace is expected, one verifying rejection of a foreign namespace under the wrong key, and one verifying acceptance when the namespace matches.

CVSS rationale

AV:L: exploitation requires local access to create processes and manipulate namespaces. AC:H: requires a specific timing window between event generation and namespace resolution (PID reuse or setns call at the right moment). AT:P: the attacker must actively manipulate the target process (call setns) or arrange PID reuse. PR:L: local access is needed but not necessarily full root; setns requires appropriate capabilities but PID reuse is a normal system event. UI:N: no user interaction required. VC:N: no confidentiality impact. VI:L: integrity impact on the vulnerable component - security monitoring events are incorrectly resolved, producing wrong file paths. VA:N: no availability impact. SC:N/SI:L/SA:N: the security monitoring system (a separate component) produces incorrect integrity data (wrong path resolution) but no confidentiality or availability impact.

Weakness rationale
  • CWE-367 The code performed a /proc/<pid>/ns/mnt lookup to determine the target namespace and then cached it under a different (expected) key. Between the event referencing the PID/namespace and the actual resolution, the PID could be reused or the process could change namespaces via setns/unshare, causing a different namespace to be cached under the wrong key. The fix verifies identity from a single opened fd, eliminating the race window.
  • CWE-20 The original code did not validate that the resolved namespace matched the expected namespace before caching. The fix adds an explicit inode comparison and rejects the operation on mismatch, which is the missing input validation.
Attack pattern rationale
  • CAPEC-110 The vulnerability is a classic TOCTOU race: the attacker exploits the time window between the event referencing a PID in a specific namespace and Kunai resolving that PID's actual namespace. By calling setns on the target process or arranging PID reuse within that window, the attacker causes a different namespace to be cached under the expected key. CAPEC-110 is the closest match. Uncertainty: the exact exploitation timing window is narrow and the patch does not describe a demonstrated exploit, so the mapping is based on the vulnerability class rather than a confirmed attack sequence.
Assumptions to verify
  • The product is identified as Kunai from the repository path kunai-project/kunai; the vendor is not explicitly stated in the patch metadata and is recorded as unknown.
  • No specific affected or fixed version numbers are provided in the patch; versions are recorded as unspecified.
  • The CVSS PR:L assumes the attacker has local access with sufficient privileges to call setns or arrange PID reuse, but not necessarily full root. If CAP_SYS_ADMIN is strictly required, PR could be H.
  • The CVSS AC:H reflects the narrow timing window required for the race condition; if PID reuse is considered a common enough event to lower the complexity, AC could be L.
  • The CAPEC-110 mapping is based on the vulnerability class (TOCTOU race) rather than a demonstrated exploit; the patch does not include a proof-of-concept, so the exact attack sequence is inferred from the commit message description.
  • The security impact is assessed as integrity-only (incorrect event resolution); the patch does not evidence any confidentiality or availability impact, but downstream effects on security operations are not fully characterized.
  • The commit date is 2026-11-10; no CVE or advisory identifier is present in the patch metadata.
Model comparison

Selected qwen3.8:27b by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.

Model Score Agreement Confidence Assumptions
qwen3.8:27b 5 11 medium 7
bcp-05-x-03
Vulnerability handling and disclosure timeline
GCVE-BCP-05-X-03
  1. 2026-11-10 08:53 UTC Fix developed Corrective change authored (0ad82911a6b72c81c55507fdabb9baad1ad1ad02): fix(namespace): verify opened mnt ns fd identity https://github.com/kunai-project/kunai/commit/0ad82911a6b72c81c55507fdabb9baad1ad1ad02.patch
  2. 2026-11-16 13:44 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/kunai-project/kunai/commit/0ad82911a6b72c81c55507fdabb9baad1ad1ad02.patch

{
  "containers": {
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:kunai-project:kunai:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "kunai/src/cache.rs",
            "kunai/src/util/namespace.rs"
          ],
          "product": "Kunai",
          "programFiles": [
            "kunai/src/cache.rs",
            "kunai/src/util/namespace.rs"
          ],
          "repo": "https://github.com/kunai-project/kunai",
          "vendor": "kunai-project",
          "versions": [
            {
              "lessThanOrEqual": "0.6.2",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:kunai-project:kunai:*:*:*:*:*:*:*:*",
                  "versionEndIncluding": "0.6.2",
                  "versionStartIncluding": "0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "qjerome"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Wachizungu"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Kunai, a security monitoring tool, contains a time-of-check to time-of-use (TOCTOU) race condition in its mount namespace (mnt ns) caching logic. When resolving a security event that references a specific process PID and an expected mount namespace, the Switcher::new function read /proc/\u003cpid\u003e/ns/mnt to determine the target namespace and cached the result under the expected namespace key without verifying that the resolved namespace actually matched the expected one.\n\nAn attacker with local access could exploit this by either (1) arranging for the referenced PID to be reused by a process in a different namespace (e.g., the host namespace) before Kunai resolves it, or (2) calling unshare or setns on the target process after the event is generated but before the namespace is resolved. In either case, the wrong namespace (potentially the host\u0027s own namespace) would be cached under the container\u0027s namespace key.\n\nThe security impact is that subsequent container security events would be resolved against host filesystem paths rather than container paths. This undermines the integrity of the security monitoring data: container activity could be misattributed to the host, host activity could be misattributed to a container, and file-path-based detections or alerts would reference incorrect paths. An attacker could potentially use this to obscure malicious activity within a container by making it appear as benign host activity, or to generate misleading security alerts.\n\nThe vulnerability requires local access to the system and a specific timing window between event generation and namespace resolution. No remote attack vector or user interaction is required."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-110",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-110 Exploiting Race Conditions"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "HIGH",
            "attackRequirements": "PRESENT",
            "attackVector": "LOCAL",
            "baseScore": 2,
            "baseSeverity": "LOW",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "LOW",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "LOW",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "SSVC",
          "other": {
            "content": {
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "role": "Supplier",
              "timestamp": "2026-11-16T13:44:48Z",
              "version": "2.0.3"
            },
            "type": "SSVC"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-367",
              "description": "CWE-367 TOCTOU Race Condition",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-20",
              "description": "CWE-20 Improper Input Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "name": "Security patch",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/kunai-project/kunai/commit/0ad82911a6b72c81c55507fdabb9baad1ad1ad02"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "The fix eliminates the TOCTOU race by opening the namespace file once to obtain a stable file descriptor, then reading the inode number from that fd via fstat/metadata and comparing it against the expected namespace\u0027s inode number. If the inodes do not match, the switcher creation is rejected with an UnexpectedNsInode error and nothing is cached, so the event is simply not enriched. This ensures the cached namespace identity is verified atomically from the opened fd rather than from a separate /proc lookup that could be affected by PID reuse or namespace changes."
        }
      ],
      "title": "Kunai Mount Namespace Cache TOCTOU Allows Incorrect Event Resolution Against Host Files",
      "x_gcve": [
        {
          "extensions": {
            "bcp-05-x-01": {
              "ai_annotations": [
                {
                  "ai_level": "generated",
                  "description": "Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.",
                  "gna_source": 1,
                  "models": [
                    {
                      "gna_source": 1,
                      "identifier": "qwen3.8:27b",
                      "name": "qwen3.8:27b",
                      "source": "ollama"
                    }
                  ],
                  "review_status": "full",
                  "scope": "record",
                  "tags": [
                    "ai-computer-assisted:llm-generated",
                    "ai-computer-assisted:classification"
                  ]
                }
              ]
            },
            "bcp-05-x-02": {
              "x_patch2vuln": {
                "assumptions": [
                  "The product is identified as Kunai from the repository path kunai-project/kunai; the vendor is not explicitly stated in the patch metadata and is recorded as unknown.",
                  "No specific affected or fixed version numbers are provided in the patch; versions are recorded as unspecified.",
                  "The CVSS PR:L assumes the attacker has local access with sufficient privileges to call setns or arrange PID reuse, but not necessarily full root. If CAP_SYS_ADMIN is strictly required, PR could be H.",
                  "The CVSS AC:H reflects the narrow timing window required for the race condition; if PID reuse is considered a common enough event to lower the complexity, AC could be L.",
                  "The CAPEC-110 mapping is based on the vulnerability class (TOCTOU race) rather than a demonstrated exploit; the patch does not include a proof-of-concept, so the exact attack sequence is inferred from the commit message description.",
                  "The security impact is assessed as integrity-only (incorrect event resolution); the patch does not evidence any confidentiality or availability impact, but downstream effects on security operations are not fully characterized.",
                  "The commit date is 2026-11-10; no CVE or advisory identifier is present in the patch metadata."
                ],
                "capecRationale": [
                  {
                    "capecId": "CAPEC-110",
                    "rationale": "The vulnerability is a classic TOCTOU race: the attacker exploits the time window between the event referencing a PID in a specific namespace and Kunai resolving that PID\u0027s actual namespace. By calling setns on the target process or arranging PID reuse within that window, the attacker causes a different namespace to be cached under the expected key. CAPEC-110 is the closest match. Uncertainty: the exact exploitation timing window is narrow and the patch does not describe a demonstrated exploit, so the mapping is based on the vulnerability class rather than a confirmed attack sequence."
                  }
                ],
                "commit": "0ad82911a6b72c81c55507fdabb9baad1ad1ad02",
                "confidence": "medium",
                "credits": [
                  {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "qjerome"
                  }
                ],
                "cvssRationale": "AV:L: exploitation requires local access to create processes and manipulate namespaces. AC:H: requires a specific timing window between event generation and namespace resolution (PID reuse or setns call at the right moment). AT:P: the attacker must actively manipulate the target process (call setns) or arrange PID reuse. PR:L: local access is needed but not necessarily full root; setns requires appropriate capabilities but PID reuse is a normal system event. UI:N: no user interaction required. VC:N: no confidentiality impact. VI:L: integrity impact on the vulnerable component - security monitoring events are incorrectly resolved, producing wrong file paths. VA:N: no availability impact. SC:N/SI:L/SA:N: the security monitoring system (a separate component) produces incorrect integrity data (wrong path resolution) but no confidentiality or availability impact.",
                "draft": false,
                "fixSummary": "The fix eliminates the TOCTOU race by opening the namespace file once to obtain a stable file descriptor, then reading the inode number from that fd via fstat/metadata and comparing it against the expected namespace\u0027s inode number. If the inodes do not match, the switcher creation is rejected with an UnexpectedNsInode error and nothing is cached, so the event is simply not enriched. This ensures the cached namespace identity is verified atomically from the opened fd rather than from a separate /proc lookup that could be affected by PID reuse or namespace changes.",
                "generatedAt": "2026-11-16T13:44:48.393000Z",
                "generator": "patch2vuln.py",
                "model": "qwen3.8:27b",
                "modelComparison": {
                  "potentialErrors": [],
                  "rankings": [
                    {
                      "agreementScore": 11,
                      "assumptionCount": 7,
                      "confidence": "medium",
                      "model": "qwen3.8:27b",
                      "score": 5
                    }
                  ],
                  "selectedModel": "qwen3.8:27b",
                  "selectionMethod": "deterministic-consensus-v1",
                  "selectionNotice": "The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."
                },
                "patchSha256": "1423cf59bf3736f481f429f0e482e25af19ec53348a90d9ce265b254ba198576",
                "patchSummary": "In kunai/src/util/namespace.rs, Switcher::new now accepts an additional expected: \u0026N parameter. Instead of calling N::from_pid to resolve the namespace (a separate /proc lookup), it calls N::open to get a stable fd, reads the inode via metadata().ino(), and compares it to expected.inum(). On mismatch it returns NsError::UnexpectedNsInode. A new NsError variant UnexpectedNsInode { cur, exp } is added. In kunai/src/cache.rs, the call site is updated to pass the expected namespace (\u0026ns) to Switcher::new. Three new unit tests are added: one verifying that the cache rejects the host\u0027s own namespace when a different namespace is expected, one verifying rejection of a foreign namespace under the wrong key, and one verifying acceptance when the namespace matches.",
                "patchTruncated": false,
                "patches": [
                  {
                    "commit": "0ad82911a6b72c81c55507fdabb9baad1ad1ad02",
                    "date": "Tue, 10 Nov 2026 09:53:52 +0100",
                    "patchSha256": "1423cf59bf3736f481f429f0e482e25af19ec53348a90d9ce265b254ba198576",
                    "retrievedAt": "2026-11-16T13:44:10.582832Z",
                    "source": "https://github.com/kunai-project/kunai/commit/0ad82911a6b72c81c55507fdabb9baad1ad1ad02.patch",
                    "sourceUrl": "https://github.com/kunai-project/kunai/commit/0ad82911a6b72c81c55507fdabb9baad1ad1ad02.patch",
                    "subject": "fix(namespace): verify opened mnt ns fd identity"
                  }
                ],
                "source": "https://github.com/kunai-project/kunai/commit/0ad82911a6b72c81c55507fdabb9baad1ad1ad02.patch",
                "ssvc": {
                  "options": [
                    {
                      "Exploitation": "none"
                    },
                    {
                      "Automatable": "no"
                    },
                    {
                      "Technical Impact": "partial"
                    }
                  ],
                  "role": "Supplier",
                  "timestamp": "2026-11-16T13:44:48Z",
                  "version": "2.0.3"
                },
                "subject": "fix(namespace): verify opened mnt ns fd identity",
                "weaknessRationale": [
                  {
                    "cweId": "CWE-367",
                    "rationale": "The code performed a /proc/\u003cpid\u003e/ns/mnt lookup to determine the target namespace and then cached it under a different (expected) key. Between the event referencing the PID/namespace and the actual resolution, the PID could be reused or the process could change namespaces via setns/unshare, causing a different namespace to be cached under the wrong key. The fix verifies identity from a single opened fd, eliminating the race window."
                  },
                  {
                    "cweId": "CWE-20",
                    "rationale": "The original code did not validate that the resolved namespace matched the expected namespace before caching. The fix adds an explicit inode comparison and rejects the operation on mismatch, which is the missing input validation."
                  }
                ]
              }
            },
            "bcp-05-x-03": {
              "x_timeline": {
                "events": [
                  {
                    "description": "Corrective change authored (0ad82911a6b72c81c55507fdabb9baad1ad1ad02): fix(namespace): verify opened mnt ns fd identity",
                    "id": "evt-fix-developed-1",
                    "references": [
                      "https://github.com/kunai-project/kunai/commit/0ad82911a6b72c81c55507fdabb9baad1ad1ad02.patch"
                    ],
                    "timestamp": "2026-11-10T08:53:52Z",
                    "type": "fix-developed"
                  },
                  {
                    "description": "Patch retrieved from the supplied URL; retrieval time is used as the default availability time.",
                    "id": "evt-fix-available-1",
                    "references": [
                      "https://github.com/kunai-project/kunai/commit/0ad82911a6b72c81c55507fdabb9baad1ad1ad02.patch"
                    ],
                    "timestamp": "2026-11-16T13:44:10.582832Z",
                    "type": "fix-available"
                  }
                ]
              }
            }
          },
          "recordType": "advisory",
          "vulnId": "GCVE-1-2026-20338"
        }
      ]
    }
  },
  "cveMetadata": {
    "cveId": "CVE-2026-129919",
    "datePublished": "2026-11-16T13:48:19.935482Z",
    "dateReserved": "2026-11-16T13:49:40.560Z",
    "dateUpdated": "2026-11-16T13:49:41.771044Z",
    "state": "PUBLISHED",
    "vulnId": "GCVE-1-2026-20338"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2.0"
}

Mitigation
Architecture and Design

Strategy: Attack Surface Reduction

Consider using language-theoretic security (LangSec) techniques that characterize inputs using a formal language and build "recognizers" for that language. This effectively requires parsing to be a distinct layer that effectively enforces a boundary between raw input and internal data representations, instead of allowing parser code to be scattered throughout the program, where it could be subject to errors or inconsistencies that create weaknesses. [REF-1109] [REF-1110] [REF-1111]

Mitigation MIT-7
Architecture and Design

Strategy: Libraries or Frameworks

Use an input validation framework such as Struts or the OWASP ESAPI Validation API. Note that using a framework does not automatically address all input validation problems; be mindful of weaknesses that could arise from misusing the framework itself (CWE-1173).

Mitigation MIT-6
Architecture and Design Implementation

Strategy: Attack Surface Reduction

Understand all the potential areas where untrusted inputs can enter the product, including but not limited to: parameters or arguments, cookies, anything read from the network, environment variables, reverse DNS lookups, query results, request headers, URL components, e-mail, files, filenames, databases, and any external systems that provide data to the application. Remember that such inputs may be obtained indirectly through API calls.

Mitigation MIT-5
Implementation

Strategy: Input Validation

  • Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
  • When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue."
  • Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.
Mitigation
Architecture and Design
  • For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
  • Even though client-side checks provide minimal benefits with respect to server-side security, they are still useful. First, they can support intrusion detection. If the server receives input that should have been rejected by the client, then it may be an indication of an attack. Second, client-side error-checking can provide helpful feedback to the user about the expectations for valid input. Third, there may be a reduction in server-side processing time for accidental input errors, although this is typically a small savings.
Mitigation
Implementation

When your application combines data from multiple sources, perform the validation after the sources have been combined. The individual data elements may pass the validation step but violate the intended restrictions after they have been combined.

Mitigation MIT-35
Implementation

Be especially careful to validate all input when invoking code that crosses language boundaries, such as from an interpreted language to native code. This could create an unexpected interaction between the language boundaries. Ensure that you are not violating any of the expectations of the language with which you are interfacing. For example, even though Java may not be susceptible to buffer overflows, providing a large argument in a call to native code might trigger an overflow.

Mitigation
Implementation

Directly convert your input type into the expected data type, such as using a conversion function that translates a string into a number. After converting to the expected data type, ensure that the input's values fall within the expected range of allowable values and that multi-field consistencies are maintained.

Mitigation
Implementation
  • Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180, CWE-181). Make sure that your application does not inadvertently decode the same input twice (CWE-174). Such errors could be used to bypass allowlist schemes by introducing dangerous inputs after they have been checked. Use libraries such as the OWASP ESAPI Canonicalization control.
  • Consider performing repeated canonicalization until your input does not change any more. This will avoid double-decoding and similar scenarios, but it might inadvertently modify inputs that are allowed to contain properly-encoded dangerous content.
Mitigation
Implementation

When exchanging data between components, ensure that both components are using the same character encoding. Ensure that the proper encoding is applied at each interface. Explicitly set the encoding you are using whenever the protocol allows you to do so.

CAPEC-10: Buffer Overflow via Environment Variables

This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the adversary finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.

CAPEC-101: Server Side Include (SSI) Injection

An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.

CAPEC-104: Cross Zone Scripting

An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security.

CAPEC-108: Command Line Execution through SQL Injection

An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.

CAPEC-109: Object Relational Mapping Injection

An attacker leverages a weakness present in the database access layer code generated with an Object Relational Mapping (ORM) tool or a weakness in the way that a developer used a persistence framework to inject their own SQL commands to be executed against the underlying database. The attack here is similar to plain SQL injection, except that the application does not use JDBC to directly talk to the database, but instead it uses a data access layer generated by an ORM tool or framework (e.g. Hibernate). While most of the time code generated by an ORM tool contains safe access methods that are immune to SQL injection, sometimes either due to some weakness in the generated code or due to the fact that the developer failed to use the generated access methods properly, SQL injection is still possible.

CAPEC-110: SQL Injection through SOAP Parameter Tampering

An attacker modifies the parameters of the SOAP message that is sent from the service consumer to the service provider to initiate a SQL injection attack. On the service provider side, the SOAP message is parsed and parameters are not properly validated before being used to access a database in a way that does not use parameter binding, thus enabling the attacker to control the structure of the executed SQL query. This pattern describes a SQL injection attack with the delivery mechanism being a SOAP message.

CAPEC-120: Double Encoding

The adversary utilizes a repeating of the encoding process for a set of characters (that is, character encoding a character encoding of a character) to obfuscate the payload of a particular request. This may allow the adversary to bypass filters that attempt to detect illegal characters or strings, such as those that might be used in traversal or injection attacks. Filters may be able to catch illegal encoded strings, but may not catch doubly encoded strings. For example, a dot (.), often used in path traversal attacks and therefore often blocked by filters, could be URL encoded as %2E. However, many filters recognize this encoding and would still block the request. In a double encoding, the % in the above URL encoding would be encoded again as %25, resulting in %252E which some filters might not catch, but which could still be interpreted as a dot (.) by interpreters on the target.

CAPEC-13: Subverting Environment Variable Values

The adversary directly or indirectly modifies environment variables used by or controlling the target software. The adversary's goal is to cause the target software to deviate from its expected operation in a manner that benefits the adversary.

CAPEC-135: Format String Injection

An adversary includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An adversary can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the adversary can write to the program stack.

CAPEC-136: LDAP Injection

An attacker manipulates or crafts an LDAP query for the purpose of undermining the security of the target. Some applications use user input to create LDAP queries that are processed by an LDAP server. For example, a user might provide their username during authentication and the username might be inserted in an LDAP query during the authentication process. An attacker could use this input to inject additional commands into an LDAP query that could disclose sensitive information. For example, entering a * in the aforementioned query might return information about all users on the system. This attack is very similar to an SQL injection attack in that it manipulates a query to gather additional information or coerce a particular return value.

CAPEC-14: Client-side Injection-induced Buffer Overflow

This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service. This hostile service is created to deliver the correct content to the client software. For example, if the client-side application is a browser, the service will host a webpage that the browser loads.

CAPEC-153: Input Data Manipulation

An attacker exploits a weakness in input validation by controlling the format, structure, and composition of data to an input-processing interface. By supplying input of a non-standard or unexpected form an attacker can adversely impact the security of the target.

CAPEC-182: Flash Injection

An attacker tricks a victim to execute malicious flash content that executes commands or makes flash calls specified by the attacker. One example of this attack is cross-site flashing, an attacker controlled parameter to a reference call loads from content specified by the attacker.

CAPEC-209: XSS Using MIME Type Mismatch

An adversary creates a file with scripting content but where the specified MIME type of the file is such that scripting is not expected. The adversary tricks the victim into accessing a URL that responds with the script file. Some browsers will detect that the specified MIME type of the file does not match the actual type of its content and will automatically switch to using an interpreter for the real content type. If the browser does not invoke script filters before doing this, the adversary's script may run on the target unsanitized, possibly revealing the victim's cookies or executing arbitrary script in their browser.

CAPEC-22: Exploiting Trust in Client

An attack of this type exploits vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by communicating directly with the server where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.

CAPEC-23: File Content Injection

An adversary poisons files with a malicious payload (targeting the file systems accessible by the target software), which may be passed through by standard channels such as via email, and standard web content like PDF and multimedia files. The adversary exploits known vulnerabilities or handling routines in the target processes, in order to exploit the host's trust in executing remote content, including binary files.

CAPEC-230: Serialized Data with Nested Payloads

Applications often need to transform data in and out of a data format (e.g., XML and YAML) by using a parser. It may be possible for an adversary to inject data that may have an adverse effect on the parser when it is being processed. Many data format languages allow the definition of macro-like structures that can be used to simplify the creation of complex structures. By nesting these structures, causing the data to be repeatedly substituted, an adversary can cause the parser to consume more resources while processing, causing excessive memory consumption and CPU utilization.

CAPEC-231: Oversized Serialized Data Payloads

An adversary injects oversized serialized data payloads into a parser during data processing to produce adverse effects upon the parser such as exhausting system resources and arbitrary code execution.

CAPEC-24: Filter Failure through Buffer Overflow

In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).

CAPEC-250: XML Injection

An attacker utilizes crafted XML user-controllable input to probe, attack, and inject data into the XML database, using techniques similar to SQL injection. The user-controllable input can allow for unauthorized viewing of data, bypassing authentication or the front-end application for direct XML database access, and possibly altering database information.

CAPEC-261: Fuzzing for garnering other adjacent user/sensitive data

An adversary who is authorized to send queries to a target sends variants of expected queries in the hope that these modified queries might return information (directly or indirectly through error logs) beyond what the expected set of queries should provide.

CAPEC-267: Leverage Alternate Encoding

An adversary leverages the possibility to encode potentially harmful input or content used by applications such that the applications are ineffective at validating this encoding standard.

CAPEC-28: Fuzzing

In this attack pattern, the adversary leverages fuzzing to try to identify weaknesses in the system. Fuzzing is a software security and functionality testing method that feeds randomly constructed input to the system and looks for an indication that a failure in response to that input has occurred. Fuzzing treats the system as a black box and is totally free from any preconceptions or assumptions about the system. Fuzzing can help an attacker discover certain assumptions made about user input in the system. Fuzzing gives an attacker a quick way of potentially uncovering some of these assumptions despite not necessarily knowing anything about the internals of the system. These assumptions can then be turned against the system by specially crafting user input that may allow an attacker to achieve their goals.

CAPEC-3: Using Leading 'Ghost' Character Sequences to Bypass Input Filters

Some APIs will strip certain leading characters from a string of parameters. An adversary can intentionally introduce leading "ghost" characters (extra characters that don't affect the validity of the request at the API layer) that enable the input to pass the filters and therefore process the adversary's input. This occurs when the targeted API will accept input data in several syntactic forms and interpret it in the equivalent semantic way, while the filter does not take into account the full spectrum of the syntactic forms acceptable to the targeted API.

CAPEC-31: Accessing/Intercepting/Modifying HTTP Cookies

This attack relies on the use of HTTP Cookies to store credentials, state information and other critical data on client systems. There are several different forms of this attack. The first form of this attack involves accessing HTTP Cookies to mine for potentially sensitive data contained therein. The second form involves intercepting this data as it is transmitted from client to server. This intercepted information is then used by the adversary to impersonate the remote user/session. The third form is when the cookie's content is modified by the adversary before it is sent back to the server. Here the adversary seeks to convince the target server to operate on this falsified information.

CAPEC-42: MIME Conversion

An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

CAPEC-43: Exploiting Multiple Input Interpretation Layers

An attacker supplies the target software with input data that contains sequences of special characters designed to bypass input validation logic. This exploit relies on the target making multiples passes over the input data and processing a "layer" of special characters with each pass. In this manner, the attacker can disguise input that would otherwise be rejected as invalid by concealing it with layers of special/escape characters that are stripped off by subsequent processing steps. The goal is to first discover cases where the input validation layer executes before one or more parsing layers. That is, user input may go through the following logic in an application: <parser1> --> <input validator> --> <parser2>. In such cases, the attacker will need to provide input that will pass through the input validator, but after passing through parser2, will be converted into something that the input validator was supposed to stop.

CAPEC-45: Buffer Overflow via Symbolic Links

This type of attack leverages the use of symbolic links to cause buffer overflows. An adversary can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.

CAPEC-46: Overflow Variables and Tags

This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The adversary crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.

CAPEC-47: Buffer Overflow via Parameter Expansion

In this attack, the target software is given input that the adversary knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.

CAPEC-473: Signature Spoof

An attacker generates a message or datablock that causes the recipient to believe that the message or datablock was generated and cryptographically signed by an authoritative or reputable source, misleading a victim or victim operating system into performing malicious actions.

CAPEC-52: Embedding NULL Bytes

An adversary embeds one or more null bytes in input to the target software. This attack relies on the usage of a null-valued byte as a string terminator in many environments. The goal is for certain components of the target software to stop processing the input when it encounters the null byte(s).

CAPEC-53: Postfix, Null Terminate, and Backslash

If a string is passed through a filter of some kind, then a terminal NULL may not be valid. Using alternate representation of NULL allows an adversary to embed the NULL mid-string while postfixing the proper data so that the filter is avoided. One example is a filter that looks for a trailing slash character. If a string insertion is possible, but the slash must exist, an alternate encoding of NULL in mid-string may be used.

CAPEC-588: DOM-Based XSS

This type of attack is a form of Cross-Site Scripting (XSS) where a malicious script is inserted into the client-side HTML being parsed by a web browser. Content served by a vulnerable web application includes script code used to manipulate the Document Object Model (DOM). This script code either does not properly validate input, or does not perform proper output encoding, thus creating an opportunity for an adversary to inject a malicious script launch a XSS attack. A key distinction between other XSS attacks and DOM-based attacks is that in other XSS attacks, the malicious script runs when the vulnerable web page is initially loaded, while a DOM-based attack executes sometime after the page loads. Another distinction of DOM-based attacks is that in some cases, the malicious script is never sent to the vulnerable web server at all. An attack like this is guaranteed to bypass any server-side filtering attempts to protect users.

CAPEC-63: Cross-Site Scripting (XSS)

An adversary embeds malicious scripts in content that will be served to web browsers. The goal of the attack is for the target software, the client-side browser, to execute the script with the users' privilege level. An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute code and scripts. Web browsers, for example, have some simple security controls in place, but if a remote attacker is allowed to execute scripts (through injecting them in to user-generated content like bulletin boards) then these controls may be bypassed. Further, these attacks are very difficult for an end user to detect.

CAPEC-64: Using Slashes and URL Encoding Combined to Bypass Validation Logic

This attack targets the encoding of the URL combined with the encoding of the slash characters. An attacker can take advantage of the multiple ways of encoding a URL and abuse the interpretation of the URL. A URL may contain special character that need special syntax handling in order to be interpreted. Special characters are represented using a percentage character followed by two digits representing the octet code of the original character (%HEX-CODE). For instance US-ASCII space character would be represented with %20. This is often referred as escaped ending or percent-encoding. Since the server decodes the URL from the requests, it may restrict the access to some URL paths by validating and filtering out the URL requests it received. An attacker will try to craft an URL with a sequence of special characters which once interpreted by the server will be equivalent to a forbidden URL. It can be difficult to protect against this attack since the URL can contain other format of encoding such as UTF-8 encoding, Unicode-encoding, etc.

CAPEC-664: Server Side Request Forgery

An adversary exploits improper input validation by submitting maliciously crafted input to a target application running on a server, with the goal of forcing the server to make a request either to itself, to web services running in the server’s internal network, or to external third parties. If successful, the adversary’s request will be made with the server’s privilege level, bypassing its authentication controls. This ultimately allows the adversary to access sensitive data, execute commands on the server’s network, and make external requests with the stolen identity of the server. Server Side Request Forgery attacks differ from Cross Site Request Forgery attacks in that they target the server itself, whereas CSRF attacks exploit an insecure user authentication mechanism to perform unauthorized actions on the user's behalf.

CAPEC-67: String Format Overflow in syslog()

This attack targets applications and software that uses the syslog() function insecurely. If an application does not explicitely use a format string parameter in a call to syslog(), user input can be placed in the format string parameter leading to a format string injection attack. Adversaries can then inject malicious format string commands into the function call leading to a buffer overflow. There are many reported software vulnerabilities with the root cause being a misuse of the syslog() function.

CAPEC-7: Blind SQL Injection

Blind SQL Injection results from an insufficient mitigation for SQL Injection. Although suppressing database error messages are considered best practice, the suppression alone is not sufficient to prevent SQL Injection. Blind SQL Injection is a form of SQL Injection that overcomes the lack of error messages. Without the error messages that facilitate SQL Injection, the adversary constructs input strings that probe the target through simple Boolean SQL expressions. The adversary can determine if the syntax and structure of the injection was successful based on whether the query was executed or not. Applied iteratively, the adversary determines how and where the target is vulnerable to SQL Injection.

CAPEC-71: Using Unicode Encoding to Bypass Validation Logic

An attacker may provide a Unicode string to a system component that is not Unicode aware and use that to circumvent the filter or cause the classifying mechanism to fail to properly understanding the request. That may allow the attacker to slip malicious data past the content filter and/or possibly cause the application to route the request incorrectly.

CAPEC-72: URL Encoding

This attack targets the encoding of the URL. An adversary can take advantage of the multiple way of encoding an URL and abuse the interpretation of the URL.

CAPEC-73: User-Controlled Filename

An attack of this type involves an adversary inserting malicious characters (such as a XSS redirection) into a filename, directly or indirectly that is then used by the target software to generate HTML text or other potentially executable content. Many websites rely on user-generated content and dynamically build resources like files, filenames, and URL links directly from user supplied data. In this attack pattern, the attacker uploads code that can execute in the client browser and/or redirect the client browser to a site that the attacker owns. All XSS attack payload variants can be used to pass and exploit these vulnerabilities.

CAPEC-78: Using Escaped Slashes in Alternate Encoding

This attack targets the use of the backslash in alternate encoding. An adversary can provide a backslash as a leading character and causes a parser to believe that the next character is special. This is called an escape. By using that trick, the adversary tries to exploit alternate ways to encode the same character which leads to filter problems and opens avenues to attack.

CAPEC-79: Using Slashes in Alternate Encoding

This attack targets the encoding of the Slash characters. An adversary would try to exploit common filtering problems related to the use of the slashes characters to gain access to resources on the target host. Directory-driven systems, such as file systems and databases, typically use the slash character to indicate traversal between directories or other container components. For murky historical reasons, PCs (and, as a result, Microsoft OSs) choose to use a backslash, whereas the UNIX world typically makes use of the forward slash. The schizophrenic result is that many MS-based systems are required to understand both forms of the slash. This gives the adversary many opportunities to discover and abuse a number of common filtering problems. The goal of this pattern is to discover server software that only applies filters to one version, but not the other.

CAPEC-8: Buffer Overflow in an API Call

This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An adversary who has knowledge of known vulnerable libraries or shared code can easily target software that makes use of these libraries. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.

CAPEC-80: Using UTF-8 Encoding to Bypass Validation Logic

This attack is a specific variation on leveraging alternate encodings to bypass validation logic. This attack leverages the possibility to encode potentially harmful input in UTF-8 and submit it to applications not expecting or effective at validating this encoding standard making input filtering difficult. UTF-8 (8-bit UCS/Unicode Transformation Format) is a variable-length character encoding for Unicode. Legal UTF-8 characters are one to four bytes long. However, early version of the UTF-8 specification got some entries wrong (in some cases it permitted overlong characters). UTF-8 encoders are supposed to use the "shortest possible" encoding, but naive decoders may accept encodings that are longer than necessary. According to the RFC 3629, a particularly subtle form of this attack can be carried out against a parser which performs security-critical validity checks against the UTF-8 encoded form of its input, but interprets certain illegal octet sequences as characters.

CAPEC-81: Web Server Logs Tampering

Web Logs Tampering attacks involve an attacker injecting, deleting or otherwise tampering with the contents of web logs typically for the purposes of masking other malicious behavior. Additionally, writing malicious data to log files may target jobs, filters, reports, and other agents that process the logs in an asynchronous attack pattern. This pattern of attack is similar to "Log Injection-Tampering-Forging" except that in this case, the attack is targeting the logs of the web server and not the application.

CAPEC-83: XPath Injection

An attacker can craft special user-controllable input consisting of XPath expressions to inject the XML database and bypass authentication or glean information that they normally would not be able to. XPath Injection enables an attacker to talk directly to the XML database, thus bypassing the application completely. XPath Injection results from the failure of an application to properly sanitize input used as part of dynamic XPath expressions used to query an XML database.

CAPEC-85: AJAX Footprinting

This attack utilizes the frequent client-server roundtrips in Ajax conversation to scan a system. While Ajax does not open up new vulnerabilities per se, it does optimize them from an attacker point of view. A common first step for an attacker is to footprint the target environment to understand what attacks will work. Since footprinting relies on enumeration, the conversational pattern of rapid, multiple requests and responses that are typical in Ajax applications enable an attacker to look for many vulnerabilities, well-known ports, network locations and so on. The knowledge gained through Ajax fingerprinting can be used to support other attacks, such as XSS.

CAPEC-88: OS Command Injection

In this type of an attack, an adversary injects operating system commands into existing application functions. An application that uses untrusted input to build command strings is vulnerable. An adversary can leverage OS command injection in an application to elevate privileges, execute arbitrary commands and compromise the underlying operating system.

CAPEC-9: Buffer Overflow in Local Command-Line Utilities

This attack targets command-line utilities available in a number of shells. An adversary can leverage a vulnerability found in a command-line utility to escalate privilege to root.