Skip to content

Commit c65bea2

Browse files
authored
Add upgrade guidance for file audit device security changes (CVE-2025-6000) (#682)
Added details to upgrade and important changes docs for Vault versions 1.16.x, 1.18.x, 1.19.x, and 1.20.x about new requirements for file audit devices: explicit configuration for prefixing, restrictions on writing to plugin directories, and prohibition of executable file permissions. Recommendations for configuration updates are provided. Fixes introduced in hashicorp/vault#31211 for CVE-2025-6000.
2 parents 6802640 + 7f77a9b commit c65bea2

File tree

4 files changed

+64
-0
lines changed

4 files changed

+64
-0
lines changed

content/vault/v1.16.x/content/docs/upgrading/upgrade-to-1.16.x.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,23 @@ reports if manual reporting is preferred.
233233
See the main page for [Vault product usage metrics reporting](/vault/docs/enterprise/license/product-usage-reporting) for
234234
more details, and information about opt-out.
235235

236+
### File audit devices require explicit configuration for prefixing and cannot use executable file permissions (CVE-2025-6000)
237+
238+
| Change | Affected version | Fixed version
239+
| ------------ | ----------------------------------------- | --------------------
240+
| Breaking | 1.16.23 | N/A
241+
242+
You must set `allow_audit_log_prefixing` to `true` in your server configuration to enable `file` audit devices with the `prefix` option. Additionally, `file` audit devices cannot use file modes with executable permissions (e.g., 0777, 0755).
243+
244+
#### Recommendation
245+
246+
If you use `file` audit devices, you need to:
247+
248+
1. Add `allow_audit_log_prefixing = true` to your Vault server configuration if
249+
you want to use the `prefix` option.
250+
1. Use non-executable file modes (e.g., 0644, 0666) for log files.
251+
252+
236253
## Known issues and workarounds
237254

238255

content/vault/v1.18.x/content/docs/upgrading/upgrade-to-1.18.x.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,23 @@ reports if manual reporting is preferred.
184184
See the main page for [Vault product usage metrics reporting](/vault/docs/enterprise/license/product-usage-reporting) for
185185
more details, and information about opt-out.
186186

187+
### File audit devices require explicit configuration for prefixing and cannot use executable file permissions (CVE-2025-6000)
188+
189+
| Change | Affected version | Fixed version
190+
| ------------ | ----------------------------------------- | --------------------
191+
| Breaking | 1.18.12 | N/A
192+
193+
You must set `allow_audit_log_prefixing` to `true` in your server configuration to enable `file` audit devices with the `prefix` option. Additionally, `file` audit devices cannot use file modes with executable permissions (e.g., 0777, 0755).
194+
195+
#### Recommendation
196+
197+
If you use `file` audit devices, you need to:
198+
199+
1. Add `allow_audit_log_prefixing = true` to your Vault server configuration if
200+
you want to use the `prefix` option.
201+
1. Use non-executable file modes (e.g., 0644, 0666) for log files.
202+
203+
187204
## Known issues and workarounds
188205

189206
@include 'known-issues/duplicate-hsm-key.mdx'

content/vault/v1.19.x/content/docs/updates/important-changes.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,21 @@ Review the [Token validation](/vault/docs/auth/azure#token-validation) section
119119
of the Azure authN plugin guide for more information on the new validation
120120
requirements.
121121

122+
### File audit devices require explicit configuration for prefixing and cannot use executable file permissions (CVE-2025-6000)
122123

124+
| Change | Affected version | Fixed version
125+
| ------------ | ----------------------------------------- | --------------------
126+
| Breaking | 1.19.7 | N/A
127+
128+
You must set `allow_audit_log_prefixing` to `true` in your server configuration to enable `file` audit devices with the `prefix` option. Additionally, `file` audit devices cannot use file modes with executable permissions (e.g., 0777, 0755).
129+
130+
#### Recommendation
131+
132+
If you use `file` audit devices, you need to:
133+
134+
1. Add `allow_audit_log_prefixing = true` to your Vault server configuration if
135+
you want to use the `prefix` option.
136+
1. Use non-executable file modes (e.g., 0644, 0666) for log files.
123137

124138

125139
## Breaking changes

content/vault/v1.20.x/content/docs/updates/important-changes.mdx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,22 @@ Vault currently does not support rotate root for key pairs. To manually rotate k
4242
For more information on rotating key pairs, please refer
4343
to the official [Snowflake documentation](https://docs.snowflake.com/en/user-guide/key-pair-auth#configuring-key-pair-rotation).
4444

45+
### File audit devices require explicit configuration for prefixing and cannot use executable file permissions (CVE-2025-6000)
46+
47+
| Change | Affected version | Fixed version
48+
| ------------ | ----------------------------------------- | --------------------
49+
| Breaking | 1.20.1 | N/A
50+
51+
You must set `allow_audit_log_prefixing` to `true` in your server configuration to enable `file` audit devices with the `prefix` option. Additionally, `file` audit devices cannot use file modes with executable permissions (e.g., 0777, 0755).
52+
53+
#### Recommendation
54+
55+
If you use `file` audit devices, you need to:
56+
57+
1. Add `allow_audit_log_prefixing = true` to your Vault server configuration if
58+
you want to use the `prefix` option.
59+
1. Use non-executable file modes (e.g., 0644, 0666) for log files.
60+
4561
## Breaking changes
4662

4763
### Breaking configuration change for disable_mlock ((#disable_mlock-config))

0 commit comments

Comments
 (0)