{"id":"CVE-2026-47684","aliases":["CVE-2026-47684","GHSA-q4x5-8cj6-52wg"],"related":[],"kind":"vulnerability","state":"published","title":"Sync-in Server: SSRF protection bypass via IPv4-mapped IPv6 addresses in regExpPrivateIP","summary":"Sync-in Server is a secure, open-source platform for file storage, sharing, collaboration, and syncing. Prior to version 2.3.0, the private IP blocklist regex used in the URL download feature does not match IPv4-mapped IPv6 addresses (e.g. ::ffff:127.0.0.1), allowing SSRF protection to be bypassed on dual-stack systems. Version 2.3.0 fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Sync-in Server is a secure, open-source platform for file storage, sharing, collaboration, and syncing. Prior to version 2.3.0, the private IP blocklist regex used in the URL download feature does not match IPv4-mapped IPv6 addresses (e.g. ::ffff:127.0.0.1), allowing SSRF protection to be bypassed on dual-stack systems. Version 2.3.0 fixes the issue.","source":"cvelist"},{"lang":"en","text":"Summary:\nThe private IP blocklist regex used in the URL download feature does not match IPv4-mapped IPv6 addresses (e.g. ::ffff:127.0.0.1), allowing SSRF protection to be bypassed on dual-stack systems.\n\nAffected components\n\nbackend/src/applications/files/services/files-manager.service.ts – downloadFromUrl() checks regExpPrivateIP against request.socket.remoteAddress.\nbackend/src/applications/files/utils/url-file.ts – regExpPrivateIP does not include ::ffff:<ipv4> variants.\n\nDetails:\nThe regExpPrivateIP regex in backend/src/applications/files/utils/url-file.ts correctly blocks standard IPv4 private ranges but does not include ::ffff: prefixed variants. On dual-stack systems, Node.js can report a socket's remoteAddress in IPv4-mapped IPv6 form, meaning the check in FilesManager.downloadFromUrl() can be bypassed entirely.\n\nPoC:\n[poc.pdf](https://github.com/user-attachments/files/26990874/poc.pdf)\n\n\n\n\nProof:\n<img width=\"1080\" height=\"842\" alt=\"1000226655\" src=\"https://github.com/user-attachments/assets/797cea83-0a08-4a16-a91b-31c51068d473\" />\n\n\n\n\n\nImpact:\nAn attacker can supply a crafted URL pointing to an internal address that gets reported as ::ffff:127.0.0.1 or ::ffff:10.x.x.x, causing the server to fetch internal resources that should be blocked. Any user with access to the file download feature is a potential attacker.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Sync-in Server es una plataforma segura de código abierto para almacenamiento de archivos, compartición, colaboración y sincronización. Antes de la versión 2.3.0, la expresión regular de la lista de bloqueo de IP privadas utilizada en la función de descarga de URL no coincide con las direcciones IPv6 mapeadas a IPv4 (p. ej. ::ffff:127.0.0.1), permitiendo que la protección SSRF sea eludida en sistemas de doble pila. La versión 2.3.0 soluciona el problema.","source":"nvd"}],"published":"2026-06-05T16:34:59.000Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"< 2.3.0","status":"affected"}],"vendor":"Sync-in","product":"server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.0"}],"ecosystem":"npm","package":"@sync-in/server","purl":"pkg:npm/%40sync-in/server","source":"ghsa"}],"references":[{"url":"https://github.com/Sync-in/server/security/advisories/GHSA-q4x5-8cj6-52wg","tags":["exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/Sync-in/server/releases/tag/v2.3.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47684","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Sync-in/server","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-16T17:01:38.857Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-47684","url":"https://www.cve.org/CVERecord?id=CVE-2026-47684","licence":"CVE Terms of Use","modified":"2026-06-16T17:10:12.548Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q4x5-8cj6-52wg","url":"https://github.com/advisories/GHSA-q4x5-8cj6-52wg","licence":"CC-BY-4.0","modified":"2026-07-08T17:45:18.193Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-47684","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47684","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:24.757Z","epss":{"score":0.00222,"percentile":0.13579,"date":"2026-12-01T12:00:22.000Z"}}