Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. flawfinder
  4. ›
  5. CVE-2026-48813

CVE-2026-48813: Flawfinder output manipulation via untrusted filenames and source text

June 26, 2026

This vulnerability is an improper input neutralization issue leading to output manipulation, specifically, Terminal/ANSI Escape Sequence Injection and XML Injection:

  • Terminal Output Spoofing: A malicious file whose name contains ANSI escape sequences can end up being included in flawfinder’s standard terminal output, with many effects. For example, this might allow an attacker to hide critical scan results, falsely making it appear to a human reviewer that no security issues were found.

  • CSV and XML Injection: Untrusted fields (such as filenames, categories, or code context text) were not properly sanitized when generating structured reports. An attacker could exploit this to corrupt CSV formats or inject arbitrary XML attributes into SonarQube outputs via output_sonar().

It impacts those who use flawfinder to evaluate intentionally malicious filenames or file contents.

The initial filename injection problem was reported by Dan Lenz https://www.linkedin.com/in/dan-lenz/

The other vulnerabilities were found by flawfinder project leader David A. Wheeler, GitHub david-a-wheeler, https://dwheeler.com/

References

  • github.com/advisories/GHSA-4c3c-r6p8-c863
  • github.com/david-a-wheeler/flawfinder/security/advisories/GHSA-4c3c-r6p8-c863
  • nvd.nist.gov/vuln/detail/CVE-2026-48813

Code Behaviors & Features

Detect and mitigate CVE-2026-48813 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.20

Fixed versions

  • 2.0.20

Solution

Upgrade to version 2.0.20 or above.

Impact

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

pypi/flawfinder/CVE-2026-48813.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 16 Jul 2026 00:19:34 +0000.