{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-45407 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-45407 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-45407 is a medium-severity vulnerability in dokku, published on 26 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-45407 and fix it if it is affected.\n\nWhat it is: CVE-2026-45407 is a medium-severity vulnerability in dokku, published on 26 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-45407 in the wild and no public exploit code.\n\nAffected product: dokku. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-45407/ (Markdown: https://insights.sbomify.com/CVE-2026-45407/index.md)","id":"CVE-2026-45407","markdown":"https://insights.sbomify.com/CVE-2026-45407/index.md","name":"CVE-2026-45407","record":{"aliases":["GHSA-xh7p-9crg-pchr"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Docker PaaS","requires_auth":"low_privilege","summary":"Local attackers can read world-readable git credentials in Dokku's .netrc file due to premature file creation with default permissions.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"dokku","vendor":"dokku"}],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"description":"Dokku is a docker-powered PaaS. Prior to 0.38.2, the git:auth command creates $DOKKU_ROOT/.netrc using bash's touch command, which applies the default umask of 0644. This pre-creation defeats the netrc binary's built-in 0600 permission setting, leaving git credentials readable by any local user who can traverse the dokku home directory. This vulnerability is fixed in 0.38.2.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch","id":"CVE-2026-45407","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Dokku: OS Command Injection via App Name in Git Pre-Receive Hook","id":"CVE-2026-45408"},"packages":[],"prev":{"headline":"Dokku: Host RCE via Maliciously Named OpenResty Include Files Injected Through eval","id":"CVE-2026-45406"},"products":["dokku"],"published":"2026-06-26","related":[{"cvss_score":9,"headline":"Dokku: Arbitrary File Write via Tar Symlink Traversal in git:from-archive and certs:add","id":"CVE-2026-45405","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":9,"headline":"Dokku: Host RCE via Maliciously Named OpenResty Include Files Injected Through eval","id":"CVE-2026-45406","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":9,"headline":"Dokku: OS Command Injection via App Name in Git Pre-Receive Hook","id":"CVE-2026-45408","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":9,"headline":"Dokku: OS Command Injection via app.json managed Cron","id":"CVE-2026-54636","kev_date_added":null,"published":"2026-06-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-26","vendors":["dokku"]},"summary":"Local attackers can read world-readable git credentials in Dokku's .netrc file due to premature file creation with default permissions.","url":"https://insights.sbomify.com/CVE-2026-45407/"}