lakeFS before 1.71.0 does not require authentication on the /api/v1/usage-report/summary endpoint. The API auth middleware forwards requests without credentials to the handler, and the handler returns the installation ID and monthly API usage counts without checking for a user. Usage reporting is enabled by default.
id: CVE-2025-64179
info:
name: lakeFS < 1.71.0 - Unauthenticated Usage Report Disclosure
author: s4e-io
severity: medium
description: |
lakeFS before 1.71.0 does not require authentication on the /api/v1/usage-report/summary endpoint. The API auth middleware forwards requests without credentials to the handler, and the handler returns the installation ID and monthly API usage counts without checking for a user. Usage reporting is enabled by default.
impact: |
Unauthenticated attackers can read the installation ID and aggregate API request counts, which reveal service activity and uptime.
remediation: |
Upgrade to version 1.71.0 or later, or block the /api/v1/usage-report/summary route at a load balancer or web application firewall.
reference:
- https://github.com/treeverse/lakeFS/security/advisories/GHSA-h238-5mwf-8xw8
- https://github.com/treeverse/lakeFS/commit/1c8adab852dac2387fcb00a256402b308a610c60
- https://github.com/treeverse/lakeFS/releases/tag/v1.71.0
- https://nvd.nist.gov/vuln/detail/CVE-2025-64179
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cve-id: CVE-2025-64179
epss-score: 0.0099
epss-percentile: 0.61416
cwe-id: CWE-200,CWE-862
metadata:
verified: true
max-request: 1
vendor: lakefs
product: lakefs
shodan-query: http.title:"lakeFS"
fofa-query: title="lakeFS"
tags: cve,cve2025,lakefs,unauth,exposure
http:
- raw:
- |
GET /api/v1/usage-report/summary HTTP/1.1
Host: {{Hostname}}
Accept: application/json
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'regex("\"installation_id\":\"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\"", body)'
- 'contains(body, "\"reports\":[")'
condition: and
# digest: 4a0a00473045022100bfb1f0a304e68e262991c3128e21b034fe59f30f36fb8ada80ca3c69640a4d700220230c62f03da9baf8d35dc7804a2033fb9f4f93967bd02020fee3b9014bac8fd3:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.