{"id":"GHSA-7g7r-gx96-252g","revision":null,"records":[{"revision":"1a83015614fa478bbb936c3717f40c34","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-54672","aliases":[],"title":"electron-updater: Uncontrolled search path elements within `AppImage` built by `app-builder-lib`","description":"electron-updater allows for automatic updates for Electron apps. Prior to 26.15.0, AppImage targets built by app-builder-lib could use an empty path component when setting the LD_LIBRARY_PATH environment variable at runtime. This causes the current working directory to be added to the dynamic linker search path, which may allow an attacker to execute arbitrary code by placing a malicious shared library in the directory from which the AppImage is launched. This issue has been fixed in version 26.15.0.","state":0,"publishedAt":"2026-06-30T22:15:03.264+00:00","modifiedAt":"2026-07-01T13:47:40.124+00:00","affected":[{"ecosystem":"Vendor product","name":"electron-builder","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"electron-userland\",\n                    \"product\": \"electron-builder\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 26.15.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"app-builder-lib","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"electron-userland\",\n                    \"product\": \"app-builder-lib\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 26.15.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://github.com/electron-userland/electron-builder/security/advisories/GHSA-7g7r-gx96-252g","https://github.com/electron-userland/electron-builder/commit/01b8ba979"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-54672","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-54672","identifiers":["CVE-2026-54672"]},"retained":false,"historicalAffected":[]},{"revision":"95943ddac73b4c8d9b7487e41b67aa2b","observedAt":"2026-11-19T16:50:37.833+00:00","statement":{"source":"euvd","id":"EUVD-2026-40456","aliases":["CVE-2026-54672","GHSA-7g7r-gx96-252g"],"title":"electron-updater allows for automatic updates for Electron apps. Prior to 26.15.0, AppImage targets built by app-builder-lib could use an empty path component when setting the LD_LIBRARY_PATH environment variable at runtime. This causes the…","description":"electron-updater allows for automatic updates for Electron apps. Prior to 26.15.0, AppImage targets built by app-builder-lib could use an empty path component when setting the LD_LIBRARY_PATH environment variable at runtime. This causes the current working directory to be added to the dynamic linker search path, which may allow an attacker to execute arbitrary code by placing a malicious shared library in the directory from which the AppImage is launched. This issue has been fixed in version 26.15.0.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":null}],"references":["https://github.com/electron-userland/electron-builder/security/advisories/GHSA-7g7r-gx96-252g","https://github.com/electron-userland/electron-builder/commit/01b8ba979"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-40456","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 30, 2026, 10:15:03 PM","dateUpdated":"Jul 1, 2026, 1:47:40 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2026:11200-1","title":"heroic-games-launcher-2.22.0-4.1 on GA media","vulnerabilityIds":["CVE-2026-54672","CVE-2026-54673","CVE-2026-56876"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-40456","identifiers":["EUVD-2026-40456","CVE-2026-54672","GHSA-7g7r-gx96-252g"]},"retained":false,"historicalAffected":[]},{"revision":"78b8c2a1c6204576b5af75066ab964e4","observedAt":"2026-10-25T13:17:28.253+00:00","statement":{"source":"nvd","id":"CVE-2026-54672","aliases":[],"title":"electron-updater allows for automatic updates for Electron apps. Prior to 26.15.0, AppImage targets built by app-builder-lib could use an empty path component when setting the LD_LIBRARY_PATH environment variable at runtime. This causes the…","description":"electron-updater allows for automatic updates for Electron apps. Prior to 26.15.0, AppImage targets built by app-builder-lib could use an empty path component when setting the LD_LIBRARY_PATH environment variable at runtime. This causes the current working directory to be added to the dynamic linker search path, which may allow an attacker to execute arbitrary code by placing a malicious shared library in the directory from which the AppImage is launched. This issue has been fixed in version 26.15.0.","state":0,"publishedAt":"2026-06-30T23:17:27.863+00:00","modifiedAt":"2026-08-18T17:37:49.477+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://github.com/electron-userland/electron-builder/commit/01b8ba979","https://github.com/electron-userland/electron-builder/security/advisories/GHSA-7g7r-gx96-252g"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-54672","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-427"],"productCriteria":["cpe:2.3:a:electron:electron-builder:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-06-30T23:17:27.863","lastModified":"2026-08-18T17:37:49.477"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-54672","identifiers":["CVE-2026-54672"]},"retained":false,"historicalAffected":[]},{"revision":"02c5c765347a4266b61a7ccaa092c1e2","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-7g7r-gx96-252g","aliases":["CVE-2026-54672"],"title":"electron-updater: Uncontrolled search path elements within `AppImage` built by `app-builder-lib`","description":"### Summary\n\n`AppImage` targets built by `app-builder-lib` could use an empty path component when setting the `LD_LIBRARY_PATH` environment variable at runtime. This causes the current working directory to be added to the dynamic linker search path, which may allow an attacker to execute arbitrary code by placing a malicious shared library in the directory from which the `AppImage` is launched.\n\nThis vulnerability is the same class as [`CVE-2024-41817`](https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8rxc-922v-phg8).\n\n### Details\n\nThe vulnerability existed in two independent code paths within `app-builder-lib` (toolset `1.0.0`) and through upstream dependency `app-builder-bin` (toolset `0.0.0`).\n\n#### Path 1 — Modern static runtime (`AppRun` generated by TypeScript)\n\nThe `AppRun` script generated by `app-builder-lib` contained this line:\n\n```bash\nexport LD_LIBRARY_PATH=\"${APPDIR}/usr/lib:${LD_LIBRARY_PATH}\"\n```\n\nWhen `LD_LIBRARY_PATH` is not set in the environment at launch time, this evaluates to:\n\n```\n/path/to/app.AppDir/usr/lib:\n```\n\nThe trailing `:` is treated by the dynamic linker as an empty path component, which resolves to the current working directory. If an attacker can place a malicious shared library (e.g., `libfoo.so`) in the directory from which the `AppImage` is executed, that library will be loaded in place of the legitimate one, resulting in arbitrary code execution.\n\nThe same issue affected `PATH`, `XDG_DATA_DIRS`, and `GSETTINGS_SCHEMA_DIR` in the same script.\n\n```bash\nexport LD_LIBRARY_PATH=\"${APPDIR}/usr/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}\"\n```\n\n#### Path 2 — Legacy FUSE2 toolset (`app-builder-bin`)\n\n`AppImage` targets built using the legacy FUSE2 toolset (`toolsets.appimage = \"0.0.0\"`) delegated `AppRun` script generation to the `app-builder-bin` Go binary, which contained the same vulnerable template:\n\nhttps://github.com/develar/app-builder/blob/7004925f95d8f034fc88d7e782c9aa7583debb8e/pkg/package-format/appimage/templates/AppRun.sh#L27\n\n### Impact\n\nAn attacker with the ability to write files to the directory from which a vulnerable `AppImage` is executed can cause arbitrary shared libraries to be loaded into the application process, resulting in arbitrary code execution with the privileges of the user running the `AppImage`.\n\n### Affected Versions\n\nThis was fully resolved in **`app-builder-lib@26.15.0`** (commit [`01b8ba979`](https://github.com/electron-userland/electron-builder/commit/01b8ba979), PR [#9829](https://github.com/electron-userland/electron-builder/pull/9829)) when `app-builder-bin` was removed from the dependency tree entirely and all AppImage construction was migrated to the TypeScript implementation.\n\n### Workarounds\n\nSet `LD_LIBRARY_PATH` to a non-empty value before launching the `AppImage`, so that the concatenation does not produce an empty path component. Alternatively, avoid running `AppImage` files from world-writable directories such as `/tmp`.","state":0,"publishedAt":"2026-07-24T14:00:59+00:00","modifiedAt":"2026-07-24T14:15:41.3609078+00:00","affected":[{"ecosystem":"npm","name":"app-builder-lib","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"26.15.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/electron-userland/electron-builder/security/advisories/GHSA-7g7r-gx96-252g","https://nvd.nist.gov/vuln/detail/CVE-2026-54672","https://github.com/electron-userland/electron-builder/commit/01b8ba979d1db44543e18d07b4ad94953deb10ea","https://github.com/electron-userland/electron-builder","https://github.com/electron-userland/electron-builder/releases/tag/electron-builder@26.15.0"],"sourceUrl":"https://github.com/advisories/GHSA-7g7r-gx96-252g","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-7g7r-gx96-252g","identifiers":["GHSA-7g7r-gx96-252g","CVE-2026-54672"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-21T12:15:57.7243701+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-21T12:15:57.7243701+00:00","lastSuccessAt":"2026-11-21T12:15:57.8986652+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.8986661+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-1d6c61c44cf3e269b6d60ed2fe0a3aa1f7e55445c7f170f16f2fa063bbf73db3-18152af2cb115f58b2333f5af715b7050c1c1916904e58a2c8af40e43c7671d3","complete":true,"records":430117,"lastAttemptAt":"2026-11-21T12:15:57.208927+00:00","lastSuccessAt":"2026-11-21T12:15:57.17481+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.208927+00:00","snapshotPublishedAt":"2026-11-21T11:18:41+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-228319aac2d14544b5e8dc5bee43f090","complete":false,"records":13919,"lastAttemptAt":"2026-11-21T12:26:06.8841301+00:00","lastSuccessAt":"2026-11-21T12:26:06.88+00:00","error":"264 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-21T12:26:06.88+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13583,"expectedIdentifiers":13967,"failedIdentifiers":264},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-21T12:15:57.7243701+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-21T12:15:57.7243701+00:00","lastSuccessAt":"2026-11-21T12:15:57.8994481+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.8994483+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-aa12646f31c14e05b6115135ee3d7c51","complete":true,"records":13931,"lastAttemptAt":"2026-11-21T12:15:59.3751759+00:00","lastSuccessAt":"2026-11-21T12:15:59.371+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:59.371+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13967,"expectedIdentifiers":13967,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-99c78bee98bf8a60587f33f568944b12d3afe17ecc41437c57b47e2204cce04d","complete":true,"records":9989,"lastAttemptAt":"2026-11-21T12:15:57.5844613+00:00","lastSuccessAt":"2026-11-21T00:54:34.963487+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.5844613+00:00","snapshotPublishedAt":"2026-11-21T00:03:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-21T12:15:57.3736092+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.3736092+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-2c09f95d48acb57436aa1dd2f0eec6f651dce8d1621b6978554be0f0b129faa4","complete":true,"records":3209,"lastAttemptAt":"2026-11-21T12:15:57.6909513+00:00","lastSuccessAt":"2026-11-20T23:48:55.8565941+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.6909513+00:00","snapshotPublishedAt":"2026-11-20T23:48:16+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-14439d295cda6d6706536c3efcb7f193a982609cf031218db7fa9ef26fdcc725","complete":true,"records":232850,"lastAttemptAt":"2026-11-21T12:15:57.4759989+00:00","lastSuccessAt":"2026-11-21T03:47:49.8245357+00:00","error":null,"lastVerifiedAt":"2026-11-21T12:15:57.4759989+00:00","snapshotPublishedAt":"2026-11-21T03:33:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}