CVE-2026-49339
Full vulnerability record from the local CVENow database.
Description
gonic is a music streaming server / free-software subsonic server API implementation. The maintainer's fix in commit `6dd71e6a3c966867ef8c900d359a7df75789f410` added an ownership check based on `playlist.UserID`. However, `playlist.UserID` is derived from the first path segment of the attacker-controlled playlist ID, with no path containment on the resolved file path. Any authenticated Subsonic user can therefore bypass the ownership check and read any other user's playlist, delete any other user's playlist, and probe arbitrary file paths on the host for existence/readability. This is a bypass of the boundary the `6dd71e6` fix is trying to enforce; it is closely related to the original GONIC-1 IDOR but uses a different primitive (path traversal in the `id` parameter rather than direct cross-user access). Commit 0824bed88f6bbc490ba28bf09d28e5dfeb07b445 in version 0.21.0 fixes the issue.
View original CVE JSON
{
"id": "CVE-2026-49339",
"sourceIdentifier": "[email protected]",
"published": "2026-06-19T19:16:36.687",
"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. The maintainer's fix in commit `6dd71e6a3c966867ef8c900d359a7df75789f410` added an ownership check based on `playlist.UserID`. However, `playlist.UserID` is derived from the first path segment of the attacker-controlled playlist ID, with no path containment on the resolved file path. Any authenticated Subsonic user can therefore bypass the ownership check and read any other user's playlist, delete any other user's playlist, and probe arbitrary file paths on the host for existence/readability. This is a bypass of the boundary the `6dd71e6` fix is trying to enforce; it is closely related to the original GONIC-1 IDOR but uses a different primitive (path traversal in the `id` parameter rather than direct cross-user access). Commit 0824bed88f6bbc490ba28bf09d28e5dfeb07b445 in version 0.21.0 fixes the issue."
},
{
"lang": "es",
"value": "gonic es un servidor de transmisión de música / implementación de API de servidor subsonic de software libre. La corrección del mantenedor en el commit ’6dd71e6a3c966867ef8c900d359a7df75789f410’ añadió una verificación de propiedad basada en ’playlist.UserID’. Sin embargo, ’playlist.UserID’ se deriva del primer segmento de ruta del ID de lista de reproducción controlado por el atacante, sin contención de ruta en la ruta de archivo resuelta. Cualquier usuario autenticado de Subsonic puede, por lo tanto, eludir la verificación de propiedad y leer la lista de reproducción de cualquier otro usuario, eliminar la lista de reproducción de cualquier otro usuario y sondear rutas de archivo arbitrarias en el host para verificar su existencia/legibilidad. Esto es una elusión del límite que la corrección ’6dd71e6’ intenta imponer; está estrechamente relacionado con el IDOR original de GONIC-1 pero utiliza una primitiva diferente (salto de ruta en el parámetro ’id’ en lugar de acceso directo entre usuarios). El commit 0824bed88f6bbc490ba28bf09d28e5dfeb07b445 en 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:L/I:H/A:N",
"baseScore": 7.1,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "HIGH",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.8,
"impactScore": 4.2
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-06-22T17:08:22.855813Z",
"id": "CVE-2026-49339",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-22"
},
{
"lang": "en",
"value": "CWE-639"
}
]
}
],
"references": [
{
"url": "https://github.com/sentriz/gonic/commit/0824bed88f6bbc490ba28bf09d28e5dfeb07b445",
"source": "[email protected]"
},
{
"url": "https://github.com/sentriz/gonic/commit/6dd71e6",
"source": "[email protected]"
},
{
"url": "https://github.com/sentriz/gonic/security/advisories/GHSA-2fp4-5v5c-4448",
"source": "[email protected]"
},
{
"url": "https://github.com/sentriz/gonic/security/advisories/GHSA-2fp4-5v5c-4448",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}