{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-96807", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "state": "PUBLISHED", "assignerShortName": "mitre", "dateReserved": "2026-09-23T16:54:16.535Z", "datePublished": "2026-09-23T16:54:16.931Z", "dateUpdated": "2026-09-23T16:54:16.931Z" }, "containers": { "cna": { "affected": [ { "defaultStatus": "unaffected", "platforms": [ "Linux" ], "product": "Flatpak", "programFiles": [ "common/flatpak-run.c" ], "programRoutines": [ { "name": "regenerate_ld_cache" } ], "repo": "https://github.com/flatpak/flatpak", "vendor": "Flatpak", "versions": [ { "lessThan": "1.18.1", "status": "affected", "version": "0", "versionType": "semver" } ] } ], "descriptions": [ { "lang": "en", "value": "In Flatpak before 1.18.1, a malicious sandboxed app can replace ~/.var/app/$appid/.ld.so with a symlink, causing regenerate_ld_cache to write files at an arbitrary location. The filenames and content are not attacker controlled, making this hard to exploit." } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "HIGH", "attackVector": "LOCAL", "availabilityImpact": "LOW", "baseScore": 4, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L", "version": "3.1" }, "format": "CVSS", "scenarios": [ { "lang": "en", "value": "GENERAL" } ] } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-61", "description": "CWE-61 UNIX Symbolic Link (Symlink) Following", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "shortName": "mitre", "dateUpdated": "2026-09-23T16:54:16.931Z" }, "references": [ { "url": "https://github.com/flatpak/flatpak/security/advisories/GHSA-99wv-m8rp-g58x" } ], "solutions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "

The issue has been fixed in version 1.18.1 by commits:

\n\n

For LTS operating system distributions, backports of these changes are available in the flatpak-1.16.x\n branch. Please note that cherry-picked libglnx changes \"chase: Add \ninternal glnx_chaseat_full for a strategic callback\" and \"chase: Add \nglnx_chase_and_mkdirat\" are also required.

" } ], "value": "The issue has been fixed in version 1.18.1 by commits:\n\n\n\n * e13dfed https://github.com/flatpak/flatpak/commit/e13dfeda330625d2fecc3a54672dfd4dc9c83a5c \"common: Fix return value and typos in flatpak_switch_symlink_and_remove\"\n\n * f6c8fb5 https://github.com/flatpak/flatpak/commit/f6c8fb5fdb3737e2f45068afe12c4bf1d808fd55 \"common: Use fd-based operations in flatpak_switch_symlink_and_remove\"\n\n * 76c9296 https://github.com/flatpak/flatpak/commit/76c9296b6780ca67f44cf67f0823f086d692a592 \"run: Harden regenerate_ld_cache against symlink attacks\"\n\n\n\n\nFor LTS operating system distributions, backports of these changes are available in the flatpak-1.16.x\n branch. Please note that cherry-picked libglnx changes \"chase: Add \ninternal glnx_chaseat_full for a strategic callback\" and \"chase: Add \nglnx_chase_and_mkdirat\" are also required." } ], "x_generator": { "engine": "CVE-Request-form 0.0.1" }, "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.18.1" } ] } ] } ] } } }