CVE-2012-2104: cgi-bin/munin-cgi-graph in Munin 2.x writes data to a log file without sanitizing non-printable characters, wh
CVE-2012-2104 is a medium-severity flaw (CVSS 6.8) affecting munin. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
cgi-bin/munin-cgi-graph in Munin 2.x writes data to a log file without sanitizing non-printable characters, which might allow user-assisted remote attackers to inject terminal emulator escape sequences and execute arbitrary commands or delete arbitrary files via a crafted HTTP request.
Why this priority
- EPSS top 8%: very likely to be exploited
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.8 (Medium) |
| EPSS exploit chance | 5.1% (top 8%) |
| CISA exploited list | No |
| Weakness | CWE-20 |
| Published | 2012-08-26 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: Munin 2.0~rc4-1 - Remote Command Injection
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2012-2104?
munin: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2012-2104 being exploited?
CVE-2012-2104 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2012-2104 affect?
CVE-2012-2104 affects munin. Severity is medium (CVSS 6.8). cgi-bin/munin-cgi-graph in Munin 2.x writes data to a log file without sanitizing non-printable characters, which might allow user-assisted remote attackers to inject terminal emulator escape sequences and execute arbitrary commands or dele
How urgent is CVE-2012-2104?
Priority 52/100. EPSS top 8%: very likely to be exploited; Public exploit reference
Related CVEs
- CVE-2019-3694 HIGH 7.7 UPGRADE UPGRADE A Symbolic Link (Symlink) Following vulnerability in the packaging of munin in openSUSE Factory, Leap 15.1 all
- CVE-2017-6188 MEDIUM 5.5 UPGRADE MITIGATE Munin before 2.999.6 has a local file write vulnerability when CGI graphs are enabled
- CVE-2013-6359 MEDIUM 4.3 UPGRADE Munin::Master::Node in Munin before 2.0.18 allows remote attackers to cause a denial of service (abort data co
- CVE-2013-6048 MEDIUM 5.0 UPGRADE The get_group_tree function in lib/Munin/Master/HTMLConfig.pm in Munin before 2.0.18 allows remote nodes to ca
- CVE-2012-4678 MEDIUM 5.0 DOWNGRADE munin-cgi-graph for Munin 2.0 rc4 does not delete temporary files, which allows remote attackers to cause a de