CVE-2007-2642: Directory traversal vulnerability in galeria.php in R2K Gallery 1.7 allows remote attackers to read arbitrary
CVE-2007-2642 is a high-severity flaw (CVSS 7.8) affecting r2k gallery. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Directory traversal vulnerability in galeria.php in R2K Gallery 1.7 allows remote attackers to read arbitrary files via a .. (dot dot) in the lang2 parameter.
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.8 (High) |
| EPSS exploit chance | 3.7% (top 10%) |
| CISA exploited list | No |
| Published | 2007-05-13 |
| 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.
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-2007-2642?
r2k gallery: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2007-2642 being exploited?
CVE-2007-2642 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-2007-2642 affect?
CVE-2007-2642 affects r2k gallery. Severity is high (CVSS 7.8). Directory traversal vulnerability in galeria.php in R2K Gallery 1.7 allows remote attackers to read arbitrary files via a .. (dot dot) in the lang2 parameter.
How urgent is CVE-2007-2642?
Priority 55/100. High severity; Public exploit reference