Critical
Security advisory
A Remote Code Execution (RCE) vulnerability was found in Smanga 3.2.7 in the /php/path/rescan.php interface. The application fails to properly sanitize user-supplied input in the mediaId parameter before using it in a system shell command. This allows an unauthenticated attacker to inject arbitrary operating system commands, leading to complete server compromise.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-70831
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 04:13 UTC · Revision 1
Source evidence
A Remote Code Execution (RCE) vulnerability was found in Smanga 3.2.7 in the /php/path/rescan.php interface. The application fails to properly sanitize user-supplied input in the mediaId parameter before using it in a system shell command. This allows an unauthenticated attacker to inject arbitrary operating system commands, leading to complete server compromise.
osv:CVE-2025-70831
Complete source record
{
"id": "11d3a9453b411e86a6e5f6c528c632e95351292aca41094ca8eb9ffb54b4b8f7",
"url": "https://osv.dev/vulnerability/CVE-2025-70831",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-70831",
"summary": "A Remote Code Execution (RCE) vulnerability was found in Smanga 3.2.7 in the /php/path/rescan.php interface. The application fails to properly sanitize user-supplied input in the mediaId parameter before using it in a system shell command. This allows an unauthenticated attacker to inject arbitrary operating system commands, leading to complete server compromise.",
"evidence": "osv:CVE-2025-70831",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2025-70831",
"aliases": [
"CVE-2025-70831"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/lkw199711/smanga",
"type": "GIT",
"events": [
{
"introduced": "9287cab0a2c258eae2163fc672d766f070a4706e"
},
{
"last_affected": "9287cab0a2c258eae2163fc672d766f070a4706e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:lkw199711:smanga:3.2.7:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.2.7"
},
{
"last_affected": "3.2.7"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"3.2.7",
"v3.2.7"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-70831.json"
}
}
],
"modified": "2026-10-28T02:30:42.439734445Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70831.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-70831",
"https://github.com/LX-66-LX/cve/issues/5"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70831.json"
}
},
"related_cves": [
{
"value": "CVE-2025-70831",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 510176,
"published_at": "2026-02-20T00:00:00+00:00"
}