Skip to content

Restrict CouchDB user metadata access on 0.9.0 - #138

Merged
sciabarracom merged 1 commit into
apache:0.9.0from
miki3421:security-0.9.0-couchdb-metadata
Oct 15, 2026
Merged

sciabarracom merged 1 commit into
apache:0.9.0from
miki3421:security-0.9.0-couchdb-metadata

Conversation

@miki3421

Copy link
Copy Markdown
Contributor

The user metadata database must not be readable anonymously or by ordinary CouchDB users. Apply an explicit admin-only membership ACL during initialization, including when the database already exists, while preserving its documents and repeatable initialization.

Validation on an isolated 0.9.0 lab with CouchDB 2.3: anonymous document, _all_docs and _find requests changed from HTTP 200 to 401; ordinary users receive 403; administrators retain access. Fresh and existing database initialization, repeated initialization and admin-api login passed. Three focused unit tests passed.

Existing-state validation explicitly reran the metadata initializer. Merely replacing the operator image is not evidence that an existing database has been reconciled; rollout must run initialization and verify its ACL.

@sciabarracom
sciabarracom merged commit 92b31bd into apache:0.9.0 Oct 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants