Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2004-1986: Directory traversal vulnerability in modules.php in Coppermine Photo Gallery 1.2.2b and 1.2.0 RC4 allows remot

46
This week
MEDIUM 5.0DOWNGRADEDOWNGRADE

CVE-2004-1986 is a medium-severity flaw (CVSS 5.0) affecting coppermine photo gallery, php-nuke. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Directory traversal vulnerability in modules.php in Coppermine Photo Gallery 1.2.2b and 1.2.0 RC4 allows remote attackers with administrative privileges to read arbitrary files via a .. (dot dot) in the startdir parameter.

Why this priority

  • EPSS top 4%: very likely to be exploited
  • Public exploit reference

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score5.0 (Medium)
EPSS exploit chance10.6% (top 4%)
CISA exploited listNo
Published2004-04-04
Last modified2026-06-16
Publisher (CNA): MITRE · Vendor: coppermine · francisco burzi

Share: LinkedIn · X · Reddit

Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

coppermine coppermine photo gallery DOWNGRADE
Affected: 1.0_rc3 · 1.1_.0 · 1.1_beta_2 · 1.2 · 1.2.1 · 1.2.2_b
Fixed in: no fixed release known
Safe to downgrade to: a release before 1.0_rc3
1. Check installed version
apt-cache policy coppermine-photo-gallery || rpm -q coppermine-photo-gallery || coppermine-photo-gallery --version
2. No fixed release: DOWNGRADE to a release before 1.0_rc3 (Debian / Ubuntu)
apt-cache madison coppermine-photo-gallery sudo apt install coppermine-photo-gallery=<VERSION_BEFORE_1.0_rc3> sudo apt-mark hold coppermine-photo-gallery
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list coppermine-photo-gallery sudo dnf downgrade coppermine-photo-gallery-<VERSION_BEFORE_1.0_rc3> sudo dnf versionlock add coppermine-photo-gallery
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
francisco burzi php-nuke DOWNGRADE
Affected: 6.9 · 7.0 · 7.0_final · 7.1 · 7.2
Fixed in: no fixed release known
Safe to downgrade to: a release before 6.9
1. Check installed version
apt-cache policy php-nuke || rpm -q php-nuke || php-nuke --version
2. No fixed release: DOWNGRADE to a release before 6.9 (Debian / Ubuntu)
apt-cache madison php-nuke sudo apt install php-nuke=<VERSION_BEFORE_6.9> sudo apt-mark hold php-nuke
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list php-nuke sudo dnf downgrade php-nuke-<VERSION_BEFORE_6.9> sudo dnf versionlock add php-nuke
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
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-2004-1986?

coppermine photo gallery: downgrade or apply the listed mitigation; php-nuke: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2004-1986 being exploited?

CVE-2004-1986 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-2004-1986 affect?

CVE-2004-1986 affects coppermine photo gallery, php-nuke. Severity is medium (CVSS 5.0). Directory traversal vulnerability in modules.php in Coppermine Photo Gallery 1.2.2b and 1.2.0 RC4 allows remote attackers with administrative privileges to read arbitrary files via a .. (dot dot) in the startdir parameter.

How urgent is CVE-2004-1986?

Priority 46/100. EPSS top 4%: very likely to be exploited; Public exploit reference

Software pages

PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.