Skip to content

Socrate v1.14.3

Choose a tag to compare

@github-actions github-actions released this 23 Nov 18:40
· 279 commits to main since this release
297dfec

Security patch release on the v1.x line. An invite now only activates a pending account
created for the same app (migration 0031, a nullable column added on startup), and the server
is built with Go 1.27.4, which fixes two standard-library vulnerabilities reachable from
Socrate's code. No environment variable, no change of default, no token-contract change. Upgrade
by rebuilding and redeploying; the migration runs on startup.

Security

  • Built with Go 1.27.4 (go 1.27.4, golang:1.27.4-alpine). Go 1.27.3 and 1.27.4 fix two
    standard-library vulnerabilities that govulncheck finds reachable from Socrate's code:
    GO-2026-6859 in net/http (fixed in 1.27.4) and GO-2026-6809 in crypto/x509 (fixed in
    1.27.3). The server binary links the standard library, so a Socrate built with 1.27.2 carries
    them: rebuild and redeploy. No code change.

  • An invite only activates a pending account created for the same app. A pending account now
    records the app whose invite created it (users.invite_app_id, migration 0031), and
    POST /api/auth/invite (and the hosted invite page) activates an existing pending account only
    with an invite of that app; any other invite gets the existing 409 answer for an account that
    is already in use, and an invite_accepted audit event with success=false and reason
    invite_other_app; a refused invite is not consumed. A pending account created before the
    migration falls back to the app of its oldest role; one with no recorded app and no role (e.g.
    created by an administrator) is claimed by the first app that adds it. An app adding (through
    POST /api/apps/{app_id}/users or /service/users) a pending account created by another app's
    invite still assigns the role, but receives no invite_token and sends no invite email: the
    person activates the account through their original invite. New addresses, active accounts and
    an app re-adding its own pending account are unchanged. Deploy note: migration 0031 adds a
    nullable column and runs on startup; no environment variable, no change of default.