{"id":"CVE-2020-25816","aliases":["ALPINE-CVE-2020-25816","BIT-vault-2020-25816","GHSA-57gg-cj55-q5g2","GO-2024-2514"],"summary":"HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly.","published_at":"2020-09-30T00:00:00Z","modified_at":"2026-11-17T06:30:47.150333Z","products":[{"slug":"vault","name":"HashiCorp Vault","category":"secrets"}],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.010119999758899212,"percentile":0.6392099857330322,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"details":"HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly. Fixed in 1.4.7 and 1.5.4.","affected_stack":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.4.7"},{"introduced":"1.5.0"},{"fixed":"1.5.4"}]}],"fixed":["1.4.7","1.5.4"],"provider":"osv","source":"BIT-vault-2020-25816","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0-beta1"},{"fixed":"1.5.4"}]}],"fixed":["1.5.4"],"provider":"osv","source":"GHSA-57gg-cj55-q5g2","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.5.4"}]}],"fixed":["1.5.4"],"provider":"osv","source":"GO-2024-2514","relation":"self"},{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.4.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.4.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4"}]}],"fixed":["1.4.7","1.4.7","1.5.4","1.5.4"],"provider":"nvd","source":"CVE-2020-25816","relation":"self"}],"affected_other":[{"ecosystem":"Alpine:v3.12","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.4.7-r0"}]}],"fixed":["1.4.7-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"},{"ecosystem":"Alpine:v3.13","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4-r0"}]}],"fixed":["1.5.4-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"},{"ecosystem":"Alpine:v3.14","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4-r0"}]}],"fixed":["1.5.4-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"},{"ecosystem":"Alpine:v3.15","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4-r0"}]}],"fixed":["1.5.4-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"},{"ecosystem":"Alpine:v3.16","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4-r0"}]}],"fixed":["1.5.4-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"},{"ecosystem":"Alpine:v3.17","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4-r0"}]}],"fixed":["1.5.4-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"},{"ecosystem":"Alpine:v3.18","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4-r0"}]}],"fixed":["1.5.4-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-installer","openshift4/topology-aware-lifecycle-manager-rhel8-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-25816"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"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":"Out of support scope","provider":"redhat-vex","source":"CVE-2020-25816"},{"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-rhel9-operator","odf4/ocs-rhel9-operator","odf4/odf-multicluster-rhel9-operator","odf4/odf-rhel8-operator","odf4/rook-ceph-rhel8-operator"],"package_count":6,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-25816"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2020-25816","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2020-25816","license":"CC-BY-4.0","published_at":"2020-09-30T19:44:01Z","modified_at":"2024-08-04T15:40:36.981Z","summary":"HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly.","details":"HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly. Fixed in 1.4.7 and 1.5.4.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.hashicorp.com/blog/category/vault"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#154"}]},{"provider":"nvd","source_id":"CVE-2020-25816","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25816","severity":[],"affected":[{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.4.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.4.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4"}]}],"fixed":["1.4.7","1.4.7","1.5.4","1.5.4"],"provider":"nvd","source":"CVE-2020-25816","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"ALPINE-CVE-2020-25816","relation":"self","url":"https://osv.dev/vulnerability/ALPINE-CVE-2020-25816","published_at":"2020-09-30T20:15:15.653Z","modified_at":"2026-11-17T06:30:47.150333Z","details":"HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly. Fixed in 1.4.7 and 1.5.4.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"ALPINE-CVE-2020-25816"}],"affected":[{"ecosystem":"Alpine:v3.12","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.4.7-r0"}]}],"fixed":["1.4.7-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"},{"ecosystem":"Alpine:v3.13","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4-r0"}]}],"fixed":["1.5.4-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"},{"ecosystem":"Alpine:v3.14","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4-r0"}]}],"fixed":["1.5.4-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"},{"ecosystem":"Alpine:v3.15","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4-r0"}]}],"fixed":["1.5.4-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"},{"ecosystem":"Alpine:v3.16","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4-r0"}]}],"fixed":["1.5.4-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"},{"ecosystem":"Alpine:v3.17","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4-r0"}]}],"fixed":["1.5.4-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"},{"ecosystem":"Alpine:v3.18","package":"vault","purl":"pkg:apk/alpine/vault?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.4-r0"}]}],"fixed":["1.5.4-r0"],"provider":"osv","source":"ALPINE-CVE-2020-25816","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2020-25816"}]},{"provider":"osv","source_id":"BIT-vault-2020-25816","relation":"self","url":"https://osv.dev/vulnerability/BIT-vault-2020-25816","license":"Apache-2.0","published_at":"2024-03-06T11:11:25.584Z","modified_at":"2026-09-08T08:48:21.224293Z","details":"HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly. Fixed in 1.4.7 and 1.5.4.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"BIT-vault-2020-25816"}],"affected":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.4.7"},{"introduced":"1.5.0"},{"fixed":"1.5.4"}]}],"fixed":["1.4.7","1.5.4"],"provider":"osv","source":"BIT-vault-2020-25816","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#154"},{"type":"ADVISORY","url":"https://www.hashicorp.com/blog/category/vault"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25816"}]},{"provider":"osv","source_id":"GHSA-57gg-cj55-q5g2","relation":"self","url":"https://osv.dev/vulnerability/GHSA-57gg-cj55-q5g2","license":"CC-BY-4.0","published_at":"2022-05-24T22:01:23Z","modified_at":"2026-02-03T03:17:02.043754Z","summary":"Token leases could outlive their TTL in HashiCorp Vault","details":"HashiCorp Vault and Vault Enterprise 1.0 before 1.5.4 have Incorrect Access Control.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-57gg-cj55-q5g2"}],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0-beta1"},{"fixed":"1.5.4"}]}],"fixed":["1.5.4"],"provider":"osv","source":"GHSA-57gg-cj55-q5g2","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25816"},{"type":"WEB","url":"https://github.com/hashicorp/vault/pull/10020/commits/f192878110fe93eb13da914b2bee28caa7866a29"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#147"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#154"},{"type":"WEB","url":"https://www.hashicorp.com/blog/category/vault"}]},{"provider":"osv","source_id":"GO-2024-2514","relation":"self","url":"https://osv.dev/vulnerability/GO-2024-2514","license":"CC-BY-4.0","published_at":"2024-06-28T15:28:53Z","modified_at":"2026-03-03T04:54:36.059515Z","summary":"Token leases could outlive their TTL in HashiCorp Vault in github.com/hashicorp/vault","details":"Token leases could outlive their TTL in HashiCorp Vault 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.0.0"},{"fixed":"1.5.4"}]}],"fixed":["1.5.4"],"provider":"osv","source":"GO-2024-2514","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-57gg-cj55-q5g2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25816"},{"type":"FIX","url":"https://github.com/hashicorp/vault/pull/10020/commits/f192878110fe93eb13da914b2bee28caa7866a29"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#147"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#154"},{"type":"WEB","url":"https://www.hashicorp.com/blog/category/vault"}]},{"provider":"redhat-vex","source_id":"CVE-2020-25816","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2020-25816","license":"CC-BY-4.0","published_at":"2020-09-30T00:00:00Z","modified_at":"2023-08-03T08:27:51Z","summary":"vault: Incorrect access control","details":"A flaw was found in HashiCorp Vault and Vault Enterprise. This flaw allows a remote attacker to bypass security restrictions caused by incorrect access control. By sending a specially crafted request, an attacker can bypass access restrictions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"CVE-2020-25816"},{"type":"Red Hat","score":"Moderate","source":"CVE-2020-25816"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-installer","openshift4/topology-aware-lifecycle-manager-rhel8-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-25816"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"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":"Out of support scope","provider":"redhat-vex","source":"CVE-2020-25816"},{"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-rhel9-operator","odf4/ocs-rhel9-operator","odf4/odf-multicluster-rhel9-operator","odf4/odf-rhel8-operator","odf4/rook-ceph-rhel8-operator"],"package_count":6,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-25816"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-25816.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-25816"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2189533"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-25816"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25816"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2020-20-vault-leases-created-with-batch-tokens-have-invalid-expiration/18105"}]}],"references":[{"type":"WEB","url":"https://www.hashicorp.com/blog/category/vault"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#154"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2020-25816"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25816"},{"type":"WEB","url":"https://github.com/hashicorp/vault/pull/10020/commits/f192878110fe93eb13da914b2bee28caa7866a29"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"},{"type":"WEB","url":"https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#147"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-57gg-cj55-q5g2"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-25816.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-25816"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2189533"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-25816"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2020-20-vault-leases-created-with-batch-tokens-have-invalid-expiration/18105"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2020-25816","url":"https://www.cve.org/CVERecord?id=CVE-2020-25816","license":"CC-BY-4.0","modified_at":"2024-08-04T15:40:36.981Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2020-25816","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25816","relation":"self"},{"provider":"osv","source_id":"ALPINE-CVE-2020-25816","url":"https://osv.dev/vulnerability/ALPINE-CVE-2020-25816","modified_at":"2026-11-17T06:30:47.150333Z","relation":"self"},{"provider":"osv","source_id":"BIT-vault-2020-25816","url":"https://osv.dev/vulnerability/BIT-vault-2020-25816","license":"Apache-2.0","modified_at":"2026-09-08T08:48:21.224293Z","relation":"self"},{"provider":"osv","source_id":"GHSA-57gg-cj55-q5g2","url":"https://osv.dev/vulnerability/GHSA-57gg-cj55-q5g2","license":"CC-BY-4.0","modified_at":"2026-02-03T03:17:02.043754Z","relation":"self"},{"provider":"osv","source_id":"GO-2024-2514","url":"https://osv.dev/vulnerability/GO-2024-2514","license":"CC-BY-4.0","modified_at":"2026-03-03T04:54:36.059515Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2020-25816","url":"https://access.redhat.com/security/cve/CVE-2020-25816","license":"CC-BY-4.0","modified_at":"2023-08-03T08:27:51Z","relation":"self"}]}
