phppgadmin — security advisory
phpPgAdmin 7.13.0 and earlier contains an incorrect access control vulnerability in sql.php at lines 68-76. The application allows unauthorized manipulation of session variables by accepting user-controlled parameters ('subject', 'server', 'database', 'queryid') without proper validation or access control checks. Attackers can exploit this to store arbitrary SQL queries in $_SESSION['sqlquery'] by manipulating these parameters, potentially leading to session poisoning, stored cross-site scripting, or unauthorized access to sensitive session data.
- Products
- phppgadmin
- Affected versions
- 5.1+ds-1, 5.1+ds-1ubuntu1, 5.1+ds-2, 5.1+ds-3, 5.1+ds-4, 7.12.0+ds-2, 7.12.0+ds-3, 7.12.1+dfsg-1, 7.13.0+dfsg-2, 7.13.0+dfsg-3, 7.14.7+dfsg-1, 7.14.7+dfsg-1build1, 7.14.8+dfsg-1
- Fixed versions
- Not specified
- CVEs
- CVE-2025-60799
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:34 UTC · Revision 1
Source evidence
phpPgAdmin 7.13.0 and earlier contains an incorrect access control vulnerability in sql.php at lines 68-76. The application allows unauthorized manipulation of session variables by accepting user-controlled parameters ('subject', 'server', 'database', 'queryid') without proper validation or access control checks. Attackers can exploit this to store arbitrary SQL queries in $_SESSION['sqlquery'] by manipulating these parameters, potentially leading to session poisoning, stored cross-site scripting, or unauthorized access to sensitive session data.
osv:UBUNTU-CVE-2025-60799
phppgadmin
Fixed versions: Not specified
phppgadmin
Fixed versions: Not specified
phppgadmin
Fixed versions: Not specified
phppgadmin
Fixed versions: Not specified
phppgadmin
Fixed versions: Not specified
phppgadmin
Fixed versions: Not specified
phppgadmin
Fixed versions: Not specified
phppgadmin
Fixed versions: Not specified
Complete source record
{
"id": "7d8145a884cbf3127b9321a729f1602028532e763f67e4c53920c42fe4a30f67",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-60799",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-60799",
"summary": "phpPgAdmin 7.13.0 and earlier contains an incorrect access control vulnerability in sql.php at lines 68-76. The application allows unauthorized manipulation of session variables by accepting user-controlled parameters ('subject', 'server', 'database', 'queryid') without proper validation or access control checks. Attackers can exploit this to store arbitrary SQL queries in $_SESSION['sqlquery'] by manipulating these parameters, potentially leading to session poisoning, stored cross-site scripting, or unauthorized access to sensitive session data.",
"evidence": "osv:UBUNTU-CVE-2025-60799",
"products": [
{
"name": {
"value": "phppgadmin",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.1+ds-1",
"evidence": "/affected/0/versions"
},
{
"value": "5.1+ds-1ubuntu1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "phppgadmin",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.1+ds-2",
"evidence": "/affected/1/versions"
},
{
"value": "5.1+ds-3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "phppgadmin",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.1+ds-4",
"evidence": "/affected/2/versions"
},
{
"value": "7.12.0+ds-2",
"evidence": "/affected/2/versions"
},
{
"value": "7.12.0+ds-3",
"evidence": "/affected/2/versions"
},
{
"value": "7.12.1+dfsg-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "phppgadmin",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.13.0+dfsg-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "phppgadmin",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.13.0+dfsg-2",
"evidence": "/affected/4/versions"
},
{
"value": "7.13.0+dfsg-3",
"evidence": "/affected/4/versions"
},
{
"value": "7.14.7+dfsg-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "phppgadmin",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.14.7+dfsg-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "phppgadmin",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.14.7+dfsg-1build1",
"evidence": "/affected/6/versions"
},
{
"value": "7.14.8+dfsg-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "phppgadmin",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.14.7+dfsg-1",
"evidence": "/affected/7/versions"
},
{
"value": "7.14.7+dfsg-1build1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2025-60799",
"aliases": [
"UBUNTU-CVE-2025-60799"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "phppgadmin",
"purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"5.1+ds-1",
"5.1+ds-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60799.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "phppgadmin",
"binary_version": "5.1+ds-1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "phppgadmin",
"purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"5.1+ds-2",
"5.1+ds-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60799.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "phppgadmin",
"binary_version": "5.1+ds-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "phppgadmin",
"purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"5.1+ds-4",
"7.12.0+ds-2",
"7.12.0+ds-3",
"7.12.1+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60799.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "phppgadmin",
"binary_version": "7.12.1+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "phppgadmin",
"purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"7.13.0+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60799.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "phppgadmin",
"binary_version": "7.13.0+dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "phppgadmin",
"purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"7.13.0+dfsg-2",
"7.13.0+dfsg-3",
"7.14.7+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60799.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "phppgadmin",
"binary_version": "7.14.7+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "phppgadmin",
"purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"7.14.7+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60799.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "phppgadmin",
"binary_version": "7.14.7+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "phppgadmin",
"purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"7.14.7+dfsg-1build1",
"7.14.8+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60799.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "phppgadmin",
"binary_version": "7.14.8+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "phppgadmin",
"purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"7.14.7+dfsg-1",
"7.14.7+dfsg-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60799.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "phppgadmin",
"binary_version": "7.14.7+dfsg-1build1"
}
]
}
}
],
"modified": "2026-10-17T12:57:09.932260891Z",
"provider": "osv",
"upstream": [
"CVE-2025-60799"
],
"references": [
"https://ubuntu.com/security/CVE-2025-60799",
"https://www.cve.org/CVERecord?id=CVE-2025-60799",
"https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60799.md",
"https://github.com/phppgadmin/phppgadmin/blob/master/sql.php#L68-L76"
]
},
"related_cves": [
{
"value": "CVE-2025-60799",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356821,
"published_at": "2025-11-20T15:17:00+00:00"
}