CVE-2026-49340
Full vulnerability record from the local CVENow database.
Description
gonic is a music streaming server / free-software subsonic server API implementation. Prior to version 0.21.0, a logic error in `ServeCreateOrUpdatePlaylist` allows any authenticated Subsonic user (including non-admin) to write playlist M3U content to an attacker-controlled absolute filesystem path on the gonic host, and to create intermediate directories with `0o777` permissions. The bug is independent of CVE-2026-49338 and CVE-2026-49339. It is an unreachable guard clause combined with no path containment in `Store.Write`. Version 0.21.0 patches the issue.
Severity
HIGH
CVSS score
8.1
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-06-19 19:16:36.817000
Last modified
2026-10-25 23:10:00.167000
View original CVE JSON
{
"id": "CVE-2026-49340",
"sourceIdentifier": "[email protected]",
"published": "2026-06-19T19:16:36.817",
"lastModified": "2026-10-25T23:10:00.167",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "gonic is a music streaming server / free-software subsonic server API implementation. Prior to version 0.21.0, a logic error in `ServeCreateOrUpdatePlaylist` allows any authenticated Subsonic user (including non-admin) to write playlist M3U content to an attacker-controlled absolute filesystem path on the gonic host, and to create intermediate directories with `0o777` permissions. The bug is independent of CVE-2026-49338 and CVE-2026-49339. It is an unreachable guard clause combined with no path containment in `Store.Write`. Version 0.21.0 patches the issue."
},
{
"lang": "es",
"value": "gonic es un servidor de streaming de música / implementación de API de servidor Subsonic de software libre. Antes de la versión 0.21.0, un error lógico en “ServeCreateOrUpdatePlaylist” permite a cualquier usuario Subsonic autenticado (incluidos los no administradores) escribir contenido M3U de listas de reproducción en una ruta absoluta del sistema de archivos controlada por un atacante en el host de gonic, y crear directorios intermedios con permisos “0o777”. El error es independiente de CVE-2026-49338 y CVE-2026-49339. Es una cláusula de guarda inalcanzable combinada con la ausencia de contención de ruta en “Store.Write”. La versión 0.21.0 corrige el problema."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "sentriz",
"product": "gonic",
"versions": [
{
"version": "< 0.21.0",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
"baseScore": 8.1,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.8,
"impactScore": 5.2
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-06-22T17:50:48.480604Z",
"id": "CVE-2026-49340",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-22"
},
{
"lang": "en",
"value": "CWE-697"
},
{
"lang": "en",
"value": "CWE-732"
}
]
}
],
"references": [
{
"url": "https://github.com/sentriz/gonic/security/advisories/GHSA-4gxv-p5g5-j7w7",
"source": "[email protected]"
},
{
"url": "https://github.com/sentriz/gonic/security/advisories/GHSA-4gxv-p5g5-j7w7",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}