Read the docs
TI-2026-36082 Aliases CVE-2026-48813GHSA-4c3c-r6p8-c863

Flawfinder output manipulation via untrusted filenames and source text

Priority LOW 38CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

Flawfinder is a a static analysis tool for finding vulnerabilities in C/C++ source code. Versions prior to 2.0.20 have an improper input neutralization issue leading to output manipulation, specifically, Terminal/ANSI Escape Sequence Injection and XML Injection. A malicious file whose name contains ANSI escape sequences can end up being included in flawfinder's standard terminal output, with many effects. 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. This issue has been fully patched in Version 2.0.20 (released 2026-05-16). There is no configuration-based workaround within older versions of flawfinder. If an immediate upgrade is not possible, users can mitigate the risk by pre-scanning filenames, inspecting raw output, and/or restricting untrusted inputs.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00444 38th percentileScored 2026-11-07
Fix Fixed flawfinder (david-a-wheeler): 2.0.20flawfinder (PyPI): 2.0.20

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
david-a-wheelerflawfinderbefore 2.0.202.0.20Patch availableCNA
—flawfinder (PyPI)before 2.0.202.0.20Patch availableGHSA-4c3c-r6p8-c863
  • flawfinder Vendordavid-a-wheeler Affected before 2.0.20 Fixed in 2.0.20 Patch available CNA
  • flawfinder (PyPI) Vendor— Affected before 2.0.20 Fixed in 2.0.20 Patch available GHSA-4c3c-r6p8-c863

Remediation

  • Fix · CNA flawfinder (david-a-wheeler) Fixed in 2.0.20
  • Fix · GHSA-4c3c-r6p8-c863 flawfinder (PyPI) Fixed in 2.0.20 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-48813
  2. 2026-10-03 Alias added: GHSA-4c3c-r6p8-c863

References

Sources