← Vulnerability feed

Vulnerability record · CVE-2007-4951 · published 18 September 2007

CVE-2007-4951: Yapig code injection vulnerability

Yapig · Yapig

PHP remote file inclusion vulnerability in sample.php in YaPiG 0.95b allows remote attackers to execute arbitrary PHP code via a URL in the YAPIG_PATH parameter. NOTE: this issue has been disputed by CVE, since YAPIG_PATH is defined before use

6.8 CVSS 2.0 Medium EPSS 1.2% · top 32.6% CWE-94 · Code injection
6.8CVSS 2.0 base score
1.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

PHP remote file inclusion vulnerability in sample.php in YaPiG 0.95b allows remote attackers to execute arbitrary PHP code via a URL in the YAPIG_PATH parameter. NOTE: this issue has been disputed by CVE, since YAPIG_PATH is defined before use

AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2007-4951 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.0CVE-2005-4800Yapig vulnerabilityDirect static code injection vulnerability in Yet Another PHP Image Gallery (YaPIG) 0.95b and earlier allows remote authenticated administrators to i…EPSS 2.2%7.5CVE-2005-4801Yapig vulnerabilityMultiple cross-site request forgery (CSRF) vulnerabilities in Yet Another PHP Image Gallery (YaPIG) 0.95b and earlier allow remote attackers to perfo…EPSS 1.7%7.5CVE-2005-1882Yapig vulnerabilityPHP remote file inclusion vulnerability in last_gallery.php in YaPiG 0.93u and 0.94u allows remote attackers to execute arbitrary PHP code via the YA…EPSS 2.6%7.5CVE-2005-1881Yapig unrestricted file upload vulnerabilityupload.php in YaPiG 0.92b, 0.93u and 0.94u does not properly restrict the file extension for uploaded image files, which allows remote attackers to u…EPSS 3.4%6.4CVE-2005-1884Yapig vulnerabilityDirectory traversal vulnerability in the (1) rmdir or (2) mkdir commands in upload.php in YaPiG 0.92b, 0.93u and 0.94u allows remote attackers to cre…EPSS 2.6%5.1CVE-2005-4799Yapig vulnerabilityMultiple cross-site scripting (XSS) vulnerabilities in Yet Another PHP Image Gallery (YaPIG) 0.95b and earlier allow remote attackers to inject arbit…EPSS 6.9%5.0CVE-2005-1883Yapig vulnerabilityglobal.php in YaPiG 0.92b allows remote attackers to include arbitrary local files via the BASE_DIR parameter.EPSS 1.5%5.0CVE-2005-1885Yapig vulnerabilityview.php in YaPiG 0.92b, 0.93u and 0.94u allows remote attackers to obtain sensitive information via a phid parameter that is not an integer, which r…EPSS 1.5%

Source: NIST National Vulnerability Database (record CVE-2007-4951), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.