Skip to content

Commit 66b7c04

Browse files
pixambihamzahashicorp
authored andcommitted
Add upgrade guidance for file audit device security changes (CVE-2025-6000)
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.
1 parent e4eef13 commit 66b7c04

4 files changed

Lines changed: 53 additions & 0 deletions

File tree

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,20 @@ 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, cannot write to plugin directory, and cannot use executable file permissions ((#audit-file-security))
237+
238+
| Change | Affected version | Fixed version
239+
| ------------ | ----------------------------------------- | --------------------
240+
| Breaking | 1.16.23 | N/A
241+
242+
File audit devices with the `prefix` option will fail to enable unless `allow_audit_log_prefixing = true` is set in the server configuration. Additionally, file audit devices cannot write to the plugin directory or any subdirectory within it, and cannot use file modes with executable permissions (e.g., 0777, 0755).
243+
244+
#### Recommendation
245+
246+
- If you use the `prefix` option with file audit devices, add `allow_audit_log_prefixing = true` to your Vault server configuration.
247+
- Ensure audit log file paths are not within the plugin directory.
248+
- Use non-executable file modes (e.g., 0644, 0666).
249+
236250
## Known issues and workarounds
237251

238252

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,20 @@ 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, cannot write to plugin directory, and cannot use executable file permissions ((#audit-file-security))
188+
189+
| Change | Affected version | Fixed version
190+
| ------------ | ----------------------------------------- | --------------------
191+
| Breaking | 1.18.12 | N/A
192+
193+
File audit devices with the `prefix` option will fail to enable unless `allow_audit_log_prefixing = true` is set in the server configuration. Additionally, file audit devices cannot write to the plugin directory or any subdirectory within it, and cannot use file modes with executable permissions (e.g., 0777, 0755).
194+
195+
#### Recommendation
196+
197+
- If you use the `prefix` option with file audit devices, add `allow_audit_log_prefixing = true` to your Vault server configuration.
198+
- Ensure audit log file paths are not within the plugin directory.
199+
- Use non-executable file modes (e.g., 0644, 0666).
200+
187201
## Known issues and workarounds
188202

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

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,19 @@ 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, cannot write to plugin directory, and cannot use executable file permissions ((#audit-file-security))
122123

124+
| Change | Affected version | Fixed version
125+
| ------------ | ----------------------------------------- | --------------------
126+
| Breaking | 1.19.7 | N/A
123127

128+
File audit devices with the `prefix` option will fail to enable unless `allow_audit_log_prefixing = true` is set in the server configuration. Additionally, file audit devices cannot write to the plugin directory or any subdirectory within it, and cannot use file modes with executable permissions (e.g., 0777, 0755).
129+
130+
#### Recommendation
131+
132+
- If you use the `prefix` option with file audit devices, add `allow_audit_log_prefixing = true` to your Vault server configuration.
133+
- Ensure audit log file paths are not within the plugin directory.
134+
- Use non-executable file modes (e.g., 0644, 0666).
124135

125136
## Breaking changes
126137

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,20 @@ 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, cannot write to plugin directory, and cannot use executable file permissions ((#audit-file-security))
46+
47+
| Change | Affected version | Fixed version
48+
| ------------ | ----------------------------------------- | --------------------
49+
| Breaking | 1.20.1 | N/A
50+
51+
File audit devices with the `prefix` option will fail to enable unless `allow_audit_log_prefixing = true` is set in the server configuration. Additionally, file audit devices cannot write to the plugin directory or any subdirectory within it, and cannot use file modes with executable permissions (e.g., 0777, 0755).
52+
53+
#### Recommendation
54+
55+
- If you use the `prefix` option with file audit devices, add `allow_audit_log_prefixing = true` to your Vault server configuration.
56+
- Ensure audit log file paths are not within the plugin directory.
57+
- Use non-executable file modes (e.g., 0644, 0666).
58+
4559
## Breaking changes
4660

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

0 commit comments

Comments
 (0)