CVE-2026-22102
Deferred Deferred - Pending Action

Path Traversal in Webserver via Arbitrary File Write

Vulnerability report for CVE-2026-22102, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-13

Last updated on: 2026-07-13

Assigner: Dutch Institute for Vulnerability Disclosure

Description

A POST request sent to a specific webserver endpoint can be used to write to arbitrary file locations. The endpoint accepts the filename parameter in the Content-Disposition header without verification. This can be used to cause a denial of service by overwriting system files, or remote-code-execution by overwriting shell-scripts which execution can be triggered through other means.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-13
Last Modified
2026-07-13
Generated
2026-08-02
AI Q&A
2026-07-13
EPSS Evaluated
2026-08-01
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-20 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.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability occurs because a POST request sent to a specific webserver endpoint allows writing to arbitrary file locations. The endpoint accepts a filename parameter in the Content-Disposition header without verifying it.

An attacker can exploit this by specifying filenames that overwrite important system files or shell scripts.

Detection Guidance

Detecting this vulnerability requires identifying whether the affected webserver endpoint is exposed and whether it improperly handles the `filename` parameter in the `Content-Disposition` header. Below are some approaches to detect this issue:

  • Check for the vulnerable endpoint by sending a crafted POST request to suspected paths. For example, using `curl` to test if the endpoint accepts arbitrary file writes:
  • ```bash curl -X POST -H "Content-Disposition: attachment; filename=/tmp/testfile" --data-binary "test" http://<target>/vulnerable-endpoint ```
  • Verify if the file was written to the specified location (e.g., `/tmp/testfile`). If the file exists and contains the test data, the system is likely vulnerable.
  • Inspect webserver logs for unusual POST requests to the endpoint, particularly those with `Content-Disposition` headers containing suspicious filenames (e.g., paths outside intended directories).
  • Use network scanning tools (e.g., Burp Suite, OWASP ZAP) to automate testing for arbitrary file write vulnerabilities by fuzzing the `filename` parameter in the `Content-Disposition` header.

If the endpoint is not publicly documented, you may need to reverse-engineer the application or inspect its source code to identify the vulnerable path.

Impact Analysis

This vulnerability can lead to a denial of service by overwriting critical system files, causing the system or application to malfunction.

It can also enable remote code execution by overwriting shell scripts, which can then be triggered to execute malicious code.

Compliance Impact

This vulnerability, which allows arbitrary file writes via a manipulated POST request, can have significant implications for compliance with standards and regulations like GDPR and HIPAA.

  • GDPR: The vulnerability could lead to unauthorized access or modification of sensitive personal data, violating GDPR's requirements for data integrity and confidentiality (Article 5(1)(f)). If exploited, it may result in a data breach, triggering mandatory reporting obligations under Article 33 and potential fines under Article 83.
  • HIPAA: For systems handling protected health information (PHI), this vulnerability could compromise the integrity and availability of PHI, violating the HIPAA Security Rule (45 CFR Part 164, Subpart C). Exploitation could lead to unauthorized access or disclosure of PHI, requiring breach notifications and potentially resulting in penalties.

Additionally, the potential for remote code execution or denial of service exacerbates the risk of non-compliance with broader security requirements in these regulations, such as maintaining robust access controls and ensuring system availability.

Mitigation Strategies

Based on the provided context, the following immediate mitigation steps are recommended:

  • Identify and restrict access to the vulnerable webserver endpoint that accepts the `filename` parameter in the `Content-Disposition` header. This can be done by reviewing webserver configurations or using network security tools to block requests to the specific endpoint.
  • Implement input validation for the `filename` parameter to ensure it does not contain malicious paths or characters (e.g., directory traversal sequences like `../`).
  • Apply the principle of least privilege by restricting write permissions on critical system files and directories to minimize the impact of arbitrary file writes.
  • Monitor and log all POST requests to the vulnerable endpoint for suspicious activity, such as attempts to overwrite system files or scripts.
  • If available, apply patches or updates from the vendor to address the vulnerability once they are released.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-22102. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart