Repository navigation
v1.3.0 — token scoping (security) and console sign-in
uBixVault 1.3.0: token scoping and console sign-in. It fixes a critical privilege escalation in token creation, caps token renewal, and lets the web console sign in with userpass or LDAP. Backward-compatible with the 1.x API; no storage or chart-values changes.
Image: ghcr.io/ubixsys/ubixvault:1.3.0 (multi-arch amd64/arm64, cosign-signed + SBOM). Helm chart: deploy/charts/ubixvault (0.1.18, appVersion 1.3.0).
Security
- Critical: token creation could escalate to any policy, including
root.auth/token/createpassed the requested policies and TTL straight through, so a token whose only grant wasauth/token/createcould mint aroottoken (or any other policy) with any lifetime. A caller that is neither root nor holdssudoonauth/token/createmay now only give a child token policies it holds itself (otherwise it gets400 child policies must be subset of parent), and the child cannot outlive the caller's own maximum lifetime. Root andsudocallers are unaffected, so operator workflows that mint long-lived tokens (e.g. 1-year CI tokens) keep working. This affects every earlier version, in any deployment where a non-root policy grantsauth/token/create. See ADR D-022. - Token renewal is capped.
renew-selfused to set the expiry to now plus any requested increment, so a token allowed to renew could keep itself alive indefinitely. Every expiring token now has a ceiling fixed at creation, the later of its own expiry and creation time plus-max-token-ttl(default768h), and renewal never passes it. Tokens issued before the upgrade are never shortened.
Upgrade notes
- Upgrade promptly if any non-root policy grants
auth/token/create. - Token creation is now scoped. If something relies on delegated token creation with wider policies than the caller holds, grant that caller
sudoonauth/token/createdeliberately. Root-issued tokens are unchanged.
Added
- Console sign-in. The
/ui/console signs in with a username and password (userpass) or LDAP, as well as a pasted token, and shows who you are: policies, identity policies, and expiry. Sign out revokes a token the console obtained. A pasted token (which may be root or shared) is only forgotten in that tab, never revoked. GET /v1/auth/token/lookup-self, in Vault's response shape.-max-token-ttl(default768h, Vault's defaultmax_lease_ttl).
Changed
- Every token may look itself up, renew itself, and revoke itself without an ACL grant, as under Vault's built-in
defaultpolicy.
Fixed
- The console header read "uBix Vault"; it now reads uBixVault.
Security assurance (read this)
uBixVault has not yet undergone an independent third-party security audit. Its cryptography and trust path are standard-library Go, written in-house, fuzzed, and property-tested, but that is not a substitute for outside review, which is an active, open milestone, deliberately not a version gate (docs/VERSIONING.md). Weigh that before placing high-blast-radius secrets here.
Full history: CHANGELOG.md.