BreachSpiderVerified, not vibes

CVE-2007-4976 in Coppermine Photo Gallery

Medium 6.5 Public exploit reported

Directory traversal vulnerability in viewlog.php in Coppermine Photo Gallery (CPG) 1.4.12 and earlier allows remote authenticated administrators to include and execute arbitrary local files via a .. (dot dot) in the log parameter.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.06.5
EPSS8.5%
EPSS percentile96th
FixUnknown

Remotely exploitable over the network, low complexity.

Affected products and versions

VendorProductAffected versions
Coppermine Coppermine Photo Gallery 1.4 1.4.2 1.4.4 1.4.9 1.4.10 1.4.11
+1 more1.4.12

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official description

Directory traversal vulnerability in viewlog.php in Coppermine Photo Gallery (CPG) 1.4.12 and earlier allows remote authenticated administrators to include and execute arbitrary local files via a .. (dot dot) in the log parameter.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2007-4976
BreachSpider IDBS-2007-GLOBAL-162643-M
CVSS vectorAV:N/AC:L/Au:S/C:P/I:P/A:P
Published2007-09-19
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

Related attack patterns (CAPEC)

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2007. A medium severity vulnerability affects Coppermine systems (CVE-2007-4976). Public exploit code is available. Isolate affected systems if patching is not feasible.

Vulnerability details: Directory traversal vulnerability in viewlog.php in Coppermine Photo Gallery (CPG) 1.4.12 and earlier allows remote authenticated administrators to include and execute arbitrary local files via a .. (dot dot) in the log parameter. CVSS vector: AV:N/AC:L/Au:S/C:P/I:P/A:P.

Questions

What is CVE-2007-4976?

This vulnerability was disclosed in 2007. A medium severity vulnerability affects Coppermine systems (CVE-2007-4976). Public exploit code is available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2007-4976?

CVE-2007-4976 has CVSS 6.5 (Medium). Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P. EPSS: 8.5%.

Is CVE-2007-4976 actively exploited?

Public exploit available for CVE-2007-4976. Exploitation risk elevated.

How do I remediate CVE-2007-4976?

Priority: MONITOR. PSIRT: [email protected]

What systems are affected by CVE-2007-4976?

CVE-2007-4976 affects Coppermine Coppermine Photo Gallery.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Coppermine","product":"Coppermine Photo Gallery","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.