Skip to content

[v18] Tighten kinit file permissions#63941

Merged
zmb3 merged 1 commit into
branch/v18from
bot/backport-63916-branch/v18
Feb 19, 2026
Merged

[v18] Tighten kinit file permissions#63941
zmb3 merged 1 commit into
branch/v18from
bot/backport-63916-branch/v18

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Feb 18, 2026

Backport #63916 to branch/v18

The Kerberos kinit client for database access temporarily writes
a certificate (and its key and corresponding CA) to a temporary
directory with world-reabable (and writable) permissions.

The permissions on the parent directory are correctly restricted to
the current user only, so there is no exploit possible, this change
just adds defense in depth by restricting the file permissions as well.
@zmb3 zmb3 added the no-changelog Indicates that a PR does not require a changelog entry label Feb 18, 2026
@github-actions github-actions Bot added backport database-access Database access related issues and PRs size/sm labels Feb 18, 2026
@zmb3 zmb3 enabled auto-merge February 18, 2026 21:16
@zmb3 zmb3 added this pull request to the merge queue Feb 19, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Feb 19, 2026
@zmb3 zmb3 added this pull request to the merge queue Feb 19, 2026
Merged via the queue into branch/v18 with commit 0e21c56 Feb 19, 2026
42 checks passed
@zmb3 zmb3 deleted the bot/backport-63916-branch/v18 branch February 19, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport database-access Database access related issues and PRs no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants