{"id":"CVE-2024-8365","aliases":["BIT-vault-2024-8365","GHSA-jjxf-26c9-77gm","GO-2024-3113","WID-SEC-W-2024-1961"],"summary":"Vault Leaks AppRole Client Tokens And Accessor in Audit Log","published_at":"2024-09-01T22:00:00Z","modified_at":"2026-09-10T03:50:18.234367Z","products":[{"slug":"vault","name":"HashiCorp Vault","category":"secrets"}],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"BSI","rating":"mittel"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.004550000187009573,"percentile":0.40209999680519104,"date":"2026-11-19T00:00:00Z"},"priority":8,"details":"Vault Community Edition and Vault Enterprise experienced a regression where functionality that HMAC’d sensitive headers in the configured audit device, specifically client tokens and token accessors, was removed. This resulted in the plaintext values of client tokens and token accessors being stored in the audit log. This vulnerability, CVE-2024-8365, was fixed in Vault Community Edition and Vault Enterprise 1.17.5 and Vault Enterprise 1.16.9.","affected_stack":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.16.7"},{"fixed":"1.16.9"},{"introduced":"1.17.3"},{"fixed":"1.17.5"}]}],"fixed":["1.16.9","1.17.5"],"provider":"osv","source":"BIT-vault-2024-8365","relation":"self"},{"ecosystem":"CVE","package":"HashiCorp/Vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.3"},{"fixed":"1.17.5"}]}],"fixed":["1.17.5"],"provider":"cvelistv5","source":"CVE-2024-8365","relation":"self"},{"ecosystem":"CVE","package":"HashiCorp/Vault Enterprise","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.7"},{"fixed":"1.17.5"}]}],"fixed":["1.17.5"],"provider":"cvelistv5","source":"CVE-2024-8365","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.17.3"},{"fixed":"1.17.5"}]}],"fixed":["1.17.5"],"provider":"osv","source":"GHSA-jjxf-26c9-77gm","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.17.3"},{"fixed":"1.17.5"}]}],"fixed":["1.17.5"],"provider":"osv","source":"GO-2024-3113","relation":"self"},{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.9"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0"},{"fixed":"1.17.5"}]}],"fixed":["1.16.9","1.17.5","1.17.5"],"provider":"nvd","source":"CVE-2024-8365","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"BSI","product":"Hashicorp Terraform Enterprise <v202409-1","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-1961"},{"vendor":"BSI","product":"Hashicorp Vault <1.16.9","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-1961"},{"vendor":"BSI","product":"Hashicorp Vault <1.17.5","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-1961"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"not_affected","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-must-gather-rhel8","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-8365"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-cli-rhel9","odf4/mcg-rhel9-operator","odf4/ocs-metrics-exporter-rhel9","odf4/ocs-must-gather-rhel8","odf4/ocs-rhel9-operator","odf4/odf-cli-rhel9","odf4/odf-multicluster-rhel9-operator","odf4/odf-rhel8-operator","odf4/rook-ceph-rhel8-operator"],"package_count":10,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-8365"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2024-8365","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2024-8365","license":"CC-BY-4.0","published_at":"2024-09-02T01:30:56.618Z","modified_at":"2024-09-04T17:18:36.98Z","summary":"Vault Leaks AppRole Client Tokens And Accessor in Audit Log","details":"Vault Community Edition and Vault Enterprise experienced a regression where functionality that HMAC’d sensitive headers in the configured audit device, specifically client tokens and token accessors, was removed. This resulted in the plaintext values of client tokens and token accessors being stored in the audit log. This vulnerability, CVE-2024-8365, was fixed in Vault Community Edition and Vault Enterprise 1.17.5 and Vault Enterprise 1.16.9.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:N","source":"CVE-2024-8365"}],"affected":[{"ecosystem":"CVE","package":"HashiCorp/Vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.3"},{"fixed":"1.17.5"}]}],"fixed":["1.17.5"],"provider":"cvelistv5","source":"CVE-2024-8365","relation":"self"},{"ecosystem":"CVE","package":"HashiCorp/Vault Enterprise","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.7"},{"fixed":"1.17.5"}]}],"fixed":["1.17.5"],"provider":"cvelistv5","source":"CVE-2024-8365","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-18-vault-leaks-client-token-and-token-accessor-in-audit-devices/"}]},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-1961","relation":"self","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1961","license":"TLP:CLEAR, mirroring permitted","published_at":"2024-09-01T22:00:00Z","modified_at":"2024-09-24T22:00:00Z","summary":"Hashicorp Vault: Schwachstelle ermöglicht Offenlegung von Informationen","details":"Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Hashicorp Vault ausnutzen, um Informationen offenzulegen.\n\nVault ist ein identitätsbasiertes System zur Verwaltung von Geheimnissen und Verschlüsselung.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2024-1961"}],"affected":[],"product_status":[{"vendor":"BSI","product":"Hashicorp Terraform Enterprise <v202409-1","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-1961"},{"vendor":"BSI","product":"Hashicorp Vault <1.16.9","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-1961"},{"vendor":"BSI","product":"Hashicorp Vault <1.17.5","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-1961"}],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1961.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1961"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-18-vault-leaks-client-token-and-token-accessor-in-audit-devices/69669"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-19-terraform-enterprise-s-single-sign-on-and-ruby-saml-s-cve-2024-45409/70203"}]},{"provider":"nvd","source_id":"CVE-2024-8365","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8365","severity":[],"affected":[{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.9"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0"},{"fixed":"1.17.5"}]}],"fixed":["1.16.9","1.17.5","1.17.5"],"provider":"nvd","source":"CVE-2024-8365","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-vault-2024-8365","relation":"self","url":"https://osv.dev/vulnerability/BIT-vault-2024-8365","license":"Apache-2.0","published_at":"2024-09-04T07:26:12.647Z","modified_at":"2026-09-08T08:48:21.506834Z","summary":"Vault Leaks AppRole Client Tokens And Accessor in Audit Log","details":"Vault Community Edition and Vault Enterprise experienced a regression where functionality that HMAC’d sensitive headers in the configured audit device, specifically client tokens and token accessors, was removed. This resulted in the plaintext values of client tokens and token accessors being stored in the audit log. This vulnerability, CVE-2024-8365, was fixed in Vault Community Edition and Vault Enterprise 1.17.5 and Vault Enterprise 1.16.9.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","source":"BIT-vault-2024-8365"}],"affected":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.16.7"},{"fixed":"1.16.9"},{"introduced":"1.17.3"},{"fixed":"1.17.5"}]}],"fixed":["1.16.9","1.17.5"],"provider":"osv","source":"BIT-vault-2024-8365","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://discuss.hashicorp.com/t/hcsec-2024-18-vault-leaks-client-token-and-token-accessor-in-audit-devices/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8365"}]},{"provider":"osv","source_id":"GHSA-jjxf-26c9-77gm","relation":"self","url":"https://osv.dev/vulnerability/GHSA-jjxf-26c9-77gm","license":"CC-BY-4.0","published_at":"2024-09-02T06:30:49Z","modified_at":"2026-09-10T03:50:18.234367Z","summary":"Vault Leaks Client Token and Token Accessor in Audit Devices","details":"Vault Community Edition and Vault Enterprise experienced a regression where functionality that HMAC’d sensitive headers in the configured audit device, specifically client tokens and token accessors, was removed. This resulted in the plaintext values of client tokens and token accessors being stored in the audit log. This vulnerability, CVE-2024-8365, was fixed in Vault Community Edition and Vault Enterprise 1.17.5 and Vault Enterprise 1.16.9.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","source":"GHSA-jjxf-26c9-77gm"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N","source":"GHSA-jjxf-26c9-77gm"}],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.17.3"},{"fixed":"1.17.5"}]}],"fixed":["1.17.5"],"provider":"osv","source":"GHSA-jjxf-26c9-77gm","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8365"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-18-vault-leaks-client-token-and-token-accessor-in-audit-devices"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jjxf-26c9-77gm"},{"type":"PACKAGE","url":"github.com/hashicorp/vault"}]},{"provider":"osv","source_id":"GO-2024-3113","relation":"self","url":"https://osv.dev/vulnerability/GO-2024-3113","license":"CC-BY-4.0","published_at":"2024-09-06T20:43:50Z","modified_at":"2026-02-04T03:43:10.278167Z","summary":"Vault Leaks Client Token and Token Accessor in Audit Devices in github.com/hashicorp/vault","details":"Vault Leaks Client Token and Token Accessor in Audit Devices in github.com/hashicorp/vault","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.17.3"},{"fixed":"1.17.5"}]}],"fixed":["1.17.5"],"provider":"osv","source":"GO-2024-3113","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jjxf-26c9-77gm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8365"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-18-vault-leaks-client-token-and-token-accessor-in-audit-devices"}]},{"provider":"redhat-vex","source_id":"CVE-2024-8365","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2024-8365","license":"CC-BY-4.0","published_at":"2024-09-02T05:15:17.823Z","modified_at":"2026-03-16T08:31:27Z","summary":"vault: Vault Leaks Client Token and Token Accessor in Audit Devices","details":"A flaw was found in the HashiCorp Vault. Vault Community Edition and Vault Enterprise experienced a regression where functionality that HMAC’d sensitive headers in the configured audit device, specifically client tokens and token accessors, was removed. This resulted in the plaintext values of client tokens and token accessors being stored in the audit log.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:N","source":"CVE-2024-8365"},{"type":"Red Hat","score":"Moderate","source":"CVE-2024-8365"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"not_affected","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-must-gather-rhel8","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-8365"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-cli-rhel9","odf4/mcg-rhel9-operator","odf4/ocs-metrics-exporter-rhel9","odf4/ocs-must-gather-rhel8","odf4/ocs-rhel9-operator","odf4/odf-cli-rhel9","odf4/odf-multicluster-rhel9-operator","odf4/odf-rhel8-operator","odf4/rook-ceph-rhel8-operator"],"package_count":10,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-8365"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-8365.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-8365"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2308970"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-8365"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8365"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-18-vault-leaks-client-token-and-token-accessor-in-audit-devices/"}]}],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-18-vault-leaks-client-token-and-token-accessor-in-audit-devices/"},{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1961.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1961"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-18-vault-leaks-client-token-and-token-accessor-in-audit-devices/69669"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-19-terraform-enterprise-s-single-sign-on-and-ruby-saml-s-cve-2024-45409/70203"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8365"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-18-vault-leaks-client-token-and-token-accessor-in-audit-devices"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jjxf-26c9-77gm"},{"type":"PACKAGE","url":"github.com/hashicorp/vault"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-8365.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-8365"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2308970"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-8365"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2024-8365","url":"https://www.cve.org/CVERecord?id=CVE-2024-8365","license":"CC-BY-4.0","modified_at":"2024-09-04T17:18:36.98Z","relation":"self"},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-1961","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1961","license":"TLP:CLEAR, mirroring permitted","modified_at":"2024-09-24T22:00:00Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2024-8365","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8365","relation":"self"},{"provider":"osv","source_id":"BIT-vault-2024-8365","url":"https://osv.dev/vulnerability/BIT-vault-2024-8365","license":"Apache-2.0","modified_at":"2026-09-08T08:48:21.506834Z","relation":"self"},{"provider":"osv","source_id":"GHSA-jjxf-26c9-77gm","url":"https://osv.dev/vulnerability/GHSA-jjxf-26c9-77gm","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:18.234367Z","relation":"self"},{"provider":"osv","source_id":"GO-2024-3113","url":"https://osv.dev/vulnerability/GO-2024-3113","license":"CC-BY-4.0","modified_at":"2026-02-04T03:43:10.278167Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2024-8365","url":"https://access.redhat.com/security/cve/CVE-2024-8365","license":"CC-BY-4.0","modified_at":"2026-03-16T08:31:27Z","relation":"self"}]}
