{"id":"CVE-2025-53363","aliases":["CVE-2025-53363","GHSA-gcqf-pxgg-gw8q","GO-2025-3909"],"related":[],"kind":"vulnerability","state":"published","title":"Dpanel has an arbitrary file read vulnerability","summary":"dpanel is an open source server management panel written in Go. In versions 1.2.0 through 1.7.2, dpanel allows authenticated users to read arbitrary files from the server via the /api/app/compose/get-from-uri API endpoint. The vulnerability exists in the GetFromUri function in app/application/http/controller/compose.go, where the uri parameter is passed directly to os.ReadFile without proper validation or access control. A logged-in attacker can exploit this flaw to read sensitive files from the host system, leading to information disclosure. No patched version is available as of this writing.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"dpanel is an open source server management panel written in Go. In versions 1.2.0 through 1.7.2, dpanel allows authenticated users to read arbitrary files from the server via the /api/app/compose/get-from-uri API endpoint. The vulnerability exists in the GetFromUri function in app/application/http/controller/compose.go, where the uri parameter is passed directly to os.ReadFile without proper validation or access control. A logged-in attacker can exploit this flaw to read sensitive files from the host system, leading to information disclosure. No patched version is available as of this writing.","source":"cvelist"},{"lang":"en","text":"### Summary\nDpanel has an arbitrary file read vulnerability in the /api/app/compose/get-from-uri interface.Logged in to Dpanel ,this interface can be used to read arbitrary files.\n\n### Details\nWhen a user logs into the administrative backend, this interface can read any files on the host/sever (given the necessary permissions), which may lead to system information leakage. The vulnerability lies in the GetFromUri function within the app/application/http/controller/compose.go file. The uri parameter submitted by the user in JSON format can be directly read and returned by os.ReadFile without proper security handling.\n![image-20250702004157585](https://github.com/user-attachments/assets/1f0e683b-bf0b-49e6-8d68-833fcf3f214d)\n![image-20250702004223184](https://github.com/user-attachments/assets/b5e89e02-f572-4edf-aaa8-566dea090d3f)\n\n### PoC\n```text\nPOST /api/app/compose/get-from-uri HTTP/1.1\nHost: x.x.x.x\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2\nAccept-Encoding: gzip, deflate\nAuthorization: Bearer eyJ......lWg==\nConnection: close\nContent-Type: application/json\nContent-Length: 21\n\n{\"uri\":\"/etc/passwd\"}\n```\n\n### Impact\nThis vulnerability could lead to the leakage of sensitive server file information. In versions from 1.2.0 up to the latest (1.7.2), logged-in users can make requests to this interface.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Dpanel has an arbitrary file read vulnerability in github.com/donknap/dpanel","format":"markdown","source":"go"},{"lang":"es","text":"dpanel es un panel de administración de servidores de código abierto escrito en Go. En las versiones 1.2.0 a 1.7.2, dpanel permite a los usuarios autenticados leer archivos arbitrarios del servidor a través del endpoint de la API /api/app/compose/get-from-uri. La vulnerabilidad existe en la función GetFromUri de app/application/http/controller/compose.go, donde el parámetro uri se pasa directamente a os.ReadFile sin la validación ni el control de acceso adecuados. Un atacante con sesión iniciada puede explotar esta vulnerabilidad para leer archivos confidenciales del sistema host, lo que puede provocar la divulgación de información. No hay ninguna versión parcheada disponible al momento de escribir este artículo.","source":"nvd"}],"published":"2025-08-22T15:18:01.533Z","modified":"2026-06-17T09:38:05.710Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N/E:P","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N/E:P","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N/E:P","rating":"MEDIUM"}],"cwes":["CWE-22","CWE-73"],"affected":[{"ranges":[{"version":">= 1.2.0, <= 1.7.2","status":"affected"}],"vendor":"donknap","product":"dpanel","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.2.0","status":"affected","lastAffected":"1.7.2"}],"ecosystem":"Go","package":"github.com/donknap/dpanel","purl":"pkg:golang/github.com/donknap/dpanel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.2.0","status":"affected"}],"ecosystem":"Go","package":"github.com/donknap/dpanel","purl":"pkg:golang/github.com/donknap/dpanel","source":"go"}],"references":[{"url":"https://github.com/donknap/dpanel/security/advisories/GHSA-gcqf-pxgg-gw8q","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53363","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/donknap/dpanel","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3909","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-08-22T15:52:10.278Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-53363","url":"https://www.cve.org/CVERecord?id=CVE-2025-53363","licence":"CVE Terms of Use","modified":"2025-08-22T15:52:20.965Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gcqf-pxgg-gw8q","url":"https://github.com/advisories/GHSA-gcqf-pxgg-gw8q","licence":"CC-BY-4.0","modified":"2025-08-29T20:34:31.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3909","url":"https://pkg.go.dev/vuln/GO-2025-3909","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:26.492Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-53363","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53363","licence":"Public domain","modified":"2026-06-17T09:38:05.710Z"}],"updatedAt":"2026-11-25T22:59:03.562Z","epss":{"score":0.00545,"percentile":0.47169,"date":"2026-12-01T12:00:22.000Z"}}