CVE-2026-48813

Source
https://cve.org/CVERecord?id=CVE-2026-48813
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-48813.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-48813
Aliases
Downstream
Published
2026-08-11T19:24:53.902Z
Modified
2026-08-14T03:51:51.522426198Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Flawfinder output manipulation via untrusted filenames and source text
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-74"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48813.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/david-a-wheeler/flawfinder

Affected ranges

Type
GIT
Repo
https://github.com/david-a-wheeler/flawfinder
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.0.20"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

1.*
1.27
1.28
1.29
1.31
2.*
2.0.0
2.0.10
2.0.11
2.0.12
2.0.14
2.0.15
2.0.16
2.0.17
2.0.18
2.0.19
2.0.19-alpha1
2.0.2
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
v1.*
v1.27

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-48813.json"