OpenRun Tip changelog
Changes in each Tip release of OpenRun. Tip releases are made from main and use date based versions. Changes under Unreleased are on main and not in a release yet.
v1.2612.31 - 2026-12-03
Added
- Update python-flask appspec worker count to 1
v1.2612.30 - 2026-12-02
Added
- New appspecs added in appspecs repo
ignore_email_verified_false = trueon an[auth.oidc_<name>]entry treats anemail_verified: falsefrom the identity provider as if the claim was not sent, and makes the signed ID token’s email the user identity. It is for a single-tenant IdP that sendsfalsefor every user, such as Okta for an app from the Okta Integration Network, and it includes the behavior oftrust_unverified_email. A claim that is neithertruenorfalseand anxms_edov: falsestill drop the email, an address that only appears in or differs in the UserInfo response is not trusted, and the server logs a warning at every start while the option is on. The option is refused on the named provider types. Users of such a provider switch from subject to email identities at their next login: see “Switching from subject to email identities” in the Authentication docs (#119).
v1.2611.230 - 2026-11-23
Security
- Any change to a builtin user who holds the
adminoradmin:managepermission now requiresadmin:manage, in addition to theuser:*permission. This covers setting the password, unlock, enable, disable and delete, and creating a user whose name an admin grant already matches. The check applies whichever way the user holds the permission: a group, a grant namingbuiltin:<name>, a config group entry or aregex:pattern. Previously only a change to the user’s admin groups was checked, so auser:manageholder could set the password of an admin user and sign in as that user.- The built-in
openrun-operatorrole hasuser:managebut notadmin:manage, so operators can no longer change or delete admin users. Calls over the unix domain socket are not affected.
- The built-in
- An empty string in a grant’s
targetsno longer meansall. It now matches nothing, and config updates reject it. A stored config with such an entry still loads, but the entry has to be removed (or changed toall) before the config can be updated again. - Creating a sync entry with
approveset now requiresapp:approvethrough a grant with targetallor*:**(or theadminpermission). Globs like**and/**, which cover the default domain only, were previously accepted. Existing sync entries are not affected.
v1.2611.130 - 2026-11-13
Changed
- The client and server versions now print in one format:
openrun_client 1.2611.120 (5acea6d9, tip, Apache-2.0)andopenrun_server 1.2611.120 (5acea6d9, tip, Apache-2.0). Scripts that parse the output ofopenrun --versionoropenrun server versionneed to be updated. - Added the
--client-versionglobal flag, with--versionand-vas aliases. It prints the client version and then runs the command if one is given, soopenrun --client-version server versionprints both versions. - The
openrun.inpluginserver_infoAPI now returns thechannelandlicenseof the server build, along with the version and commit.
v1.2611.120 - 2026-11-12
First 1.0 release!!
Security
- Container bind mounts are checked more strictly.
- Symlinks in a bind source are resolved before the source is checked against the app source directory and
security.allowed_mounts, and the source is checked again when the container is created. - The app runtime directory is no longer an allowed bind source.
- A relative bind source on an app whose source directory is not available at container start now fails with an error. It was previously passed to the container runtime as a named volume.
- Symlinks in a bind source are resolved before the source is checked against the app source directory and
- Generated secret files (
cl_secretvolumes) and the litestream config are written without following symlinks. The litestream config is created with mode 0600. - Secret keys with empty,
.or..path segments are rejected for all providers. Vault secret paths must be clean and relative. - MCP apps: CORS preflight requests from an allowed origin are answered by OpenRun and no longer reach the app. Other
OPTIONSrequests to the MCP path get a 405. If the app setscors.allow_origin, the preflight is answered from the app’s CORS settings. - A login session is valid only on the hostname the user logged in for (the hostname of the app URL they were returned to after login). A session cookie presented on another hostname is not accepted and the user is sent to login. Sessions created before the upgrade are not affected until they expire.
- The proxy and container config of an app has to be the value returned by
proxy.config/container.config. The returned value is read only. An app which builds the config itself or modifies the returned value fails to load. permissions.disallowentries now also match plugin calls which use an account suffix, for example aproxy.inentry matchesproxy.in#account.- RBAC changes:
applyand declarative delete are refused before the apply file is fetched when the caller holds no relevant permission on any app or binding (app:apply,binding:createorbinding:updatefor apply;app:deleteorbinding:deletefor delete). This also applies to dry runs.- A custom
stage_atdomain passed in a create or apply request needsapp:create(app:applyfor apply) on the stage location, in addition to the permission on the app path.
- An app on the default domain and an app without a domain share one path namespace, so they can no longer overlap.
- The source folder of a git app has to resolve to a location inside the checkout. A folder which is a symlink pointing outside the repository is rejected.
v0.20.15 - 2026-11-05
Changed
- New production apps on a subdomain now create their staging app with the stage label after the app’s label, for example
app.stage.example.comforapp.example.com, instead ofstage.app.example.com. The staging apps of*.example.comare then all under*.stage.example.com, so one wildcard DNS record and one wildcard certificate cover them. This is the newstage_atmodedomain_suffix, which is now the default forsystem.stage_at.- Existing apps are not affected: the staging location is stored when an app is created. Apps created without a domain (path apps on the default domain) and apps on a registrable domain such as
example.orgstage where they did before (stage.<domain>). - To keep the previous location for new apps, set
stage_at = "domain"in the[system]config, or pass--stage-at domain/stage_at="domain"per app. - Wildcard certificate and explicit DNS setups need
stage.<domain>and*.stage.<domain>entries for new subdomain apps. - For a domain outside
default_domain, OpenRun assumes you control the parent of the app’s hostname (registrable domains are detected with the Public Suffix List). If the hostname is the only name you control, such astools.customer.compointed at your server, set the staging location explicitly with--stage-at. See the staging domain docs. domain_suffixis now a reservedstage_atvalue and can no longer name a custom staging domain.- Downgrade note: older versions do not know
domain_suffixand treat it as a staging domain name. If you setstage_at = "domain_suffix"explicitly (inopenrun.toml, dynamic config or an apply file), change it todomainor remove it before running an older version. The built-in default needs no action.
- Existing apps are not affected: the staging location is stored when an app is created. Apps created without a domain (path apps on the default domain) and apps on a registrable domain such as
v0.20.14 - 2026-11-04
- Update to use HTTP health checks for NLB
Fixed
v0.20.13 - 2026-11-04
Fixed
- On Kubernetes, an app instance whose Deployment was scaled to zero outside it (another OpenRun replica’s idle shutdown, a request that reused the workload just before this server’s own idle stop landed, or a manual
kubectl scale) no longer keeps proxying to it with 502 errors until the next deploy. A refused connection to a scaled-down workload now returns 503 withRetry-After: 1and closes the instance, so the retried request restarts the app. The background health check catches the case when no request does. A workload that is unhealthy or mid-rollout keeps its replicas and is left to Kubernetes readiness, as before. - On Kubernetes, an app waking from idle shutdown is scaled back to the replica count it was deployed with (
min_replicas) instead of always one. The count is recorded in adev.openrun.replicasannotation on the Deployment; Deployments created by an earlier version wake with one replica until their next deploy. - On Kubernetes, deploys wait for the app’s Service to accept connections in ClusterIP mode too, not only with
use_node_port, so the first request after a deploy no longer races kube-proxy’s routing update. - The console’s Kaniko Builds tab lists the build pods from the namespace the builds run in (
kubernetes.namespace) instead of the apps namespace, where it always found none. Kaniko rows no longer link to the container detail page, which cannot open them.
Changed
- Proxy errors for container apps are logged through the server log at warning level, with the request path, instead of as
http: proxy error: ...lines from the Go standard library logger. Requests cancelled by the client are logged at debug level.
v0.20.10 - 2026-11-03
Added
trust_unverified_email = trueon an[auth.oidc_<name>]entry makes the signed ID token’s email the user identity when the identity provider sends noemail_verifiedclaim at all, for a single-tenant IdP whose directory admins own the email attribute (Microsoft Entra ID never sends the claim, nor do ADFS and OneLogin by default). An explicitfalsestill drops the email, an address that only appears in or differs in the UserInfo response is never trusted, and the server logs a warning at every start while the option is on. The option is refused on the named provider types (#117).- The
oidcprovider accepts Microsoft Entra ID’sxms_edov(“email domain owner verified”) optional claim as email verification, so an Entra app registration that emits it keeps email identities with no OpenRun setting. If the registration already emitsxms_edov, Entra users switch from subject to email identities at their next login: re-key subject-based grants first (see the Authentication docs, “Identity providers that do not sendemail_verified”).
Changed
- The
oidcprovider keeps separate email verification verdicts for the ID token and the UserInfo response: afalsefrom either, or a value that is neithertruenorfalse, now drops the email even when the other source saystrue. Previously a UserInfoemail_verified: trueoverrode an ID tokenfalse. - The login warning for a dropped email names the cause (no verification claim, marked unverified, malformed claim, UserInfo address differs from the ID token’s) and the remedy.
v0.20.9 - 2026-11-02
Fixed
- Fixed action dropdown selection to handle settle and choose first element as default.
v0.20.8 - 2026-11-01
Security
- Failed admin and builtin user password checks are limited per client IP by the new
security.login_failure_rate_limit(default 100 per minute), across HTTP Basic, the login form and the OAuth authorization server password page. A wrong admin username now costs the same bcrypt check as a wrong password. - The
fs.serve_tmp_filedownload refuses a registered path which has since become a symlink, and checks the opened file is the one that was checked. An app could otherwise replace a served file with a link to any file the server can read. The download file name is now encoded withmime.FormatMediaType. fs.listandfs.findrefuse a path with a..element, so a permission argument pattern such asregex:^/data/cannot be bypassed with/data/../etc.- OAuth dynamic client registration is limited to 10 registrations per client IP per hour, and when the 200 client quota is full, registrations which never completed an authorization within an hour are pruned first.
client_nameis capped at 200 bytes andredirect_urisat 20 entries. - The
azureadandmicrosoftonlineOAuth providers, including named instances such asazuread_corp, take the user email from theuserPrincipalName(bound to a domain the tenant verified) instead of the free-textmailattribute, so a user of another tenant cannot log in as an address of this organisation. A guest (#EXT#) principal gets no email identity and is identified by its principal name. - Client certificate auth verifies the certificate for the client auth key usage. A certificate with only the
clientAuthextended key usage is now accepted, and a server certificate from the same CA is refused. - The webhook endpoint returns the same 401 response for an unknown app, a webhook which is not enabled and a bad credential, and refuses a request without credentials before loading the app. The failure detail is in the audit log.
- For callers without
service:updateon a service, service listings redact secret-named config values, show a connection url only as its scheme, username, host and path (the query is replaced by a marker), and redact any other value with connection string syntax entirely. Sync listings no longer return the webhook secret. - Image references for apps, sidecars and jobs, and container ids passed to the container APIs, cannot start with
-or contain whitespace, since they are positional arguments of the container command. --build-argvalues (which can hold resolved secrets) are redacted in the debug log of image builds. A delegated build context is capped at 4 GiB decompressed (an archive reaching the cap is refused, not truncated) and 200000 entries, and extracted files keep no setuid bits and no group or other write access.- Store filter and sort field names cannot contain a backslash,
?or control characters, in addition to a quote. The audit log query binds app ids as parameters. A sqlite bindingpathis limited to letters, digits and_ . - /. - OAuth and SAML login errors no longer return the identity provider’s or the database’s error text to the client; it is logged. The OAuth provider login start is covered by
security.login_start_rate_limit. The form login always starts a fresh pre-auth session. - The HTTP listeners set a 20 second
ReadHeaderTimeout. The self-signed certificate key is written with mode 0600. The OpenTelemetry resource no longer includes the server’s command line or process owner.
v0.20.7 - 2026-10-30
Security
- Dynamic config updates are limited to an allowlist of the sections and settings the console config pages manage.
- A
[builder_agent.*]entry set through the console or the dynamic config can only mountconfig_filesfrom withinsecurity.allowed_mounts, and itsdockerfilemust be undersecurity.remote_disk_read_pathswhen set over the remote API. - On Kubernetes, the app environment (resolved
{{secret}}parameters and binding credentials) is stored in a<workload>-envSecret loaded withenvFrominstead of as literal values in the Deployment and Job pod templates. The Secret has the workload’s ownership labels and follows its lifecycle; a job run’s Secret is owned by its Job. - The SAML IdP metadata fetch and the OIDC discovery, JWKS, token and userinfo calls refuse loopback, private and link-local addresses (through
HTTPS_PROXYtoo), follow at most three redirects and refuse an https to http redirect;[auth.*]and[saml.*]entries are dynamically settable, so the server could be steered into fetching internal services. An IdP on a private or local address needs the new static settingsecurity.sso_allow_private_hosts = true. The SAML metadata error no longer echoes the IdP’s response body. - Dev mode style and JS library downloads named by app code refuse loopback, private and link-local addresses, refuse https to http redirects and are capped at 128MB. The
daisyui_urldownloads from the server config may still reach an internal mirror. - The config read APIs and
get_config_versionalso redact fields named like API keys (api_key,access_key,credential, a_keysuffix), so a literalANTHROPIC_API_KEYin a[builder_agent.*]env is no longer returned in plain text. History snapshots are redacted the same way as the current config. fs.serve_tmp_filerecords the symlink-resolved path which passed thefs.file_accesscheck, and the download and expiry deletion refuse a path which has since gained a symlink component, so a served file cannot be redirected to delete a file outside the allowed directories.security.allowed_container_argsregex:patterns must now match the whole flag value (anchored as\A(?:...)\z); a pattern relying on a substring match no longer accepts extra text around the allowed form.- The generated tailwind
input.cssandtailwind.config.jsrefuse style themes,custom_themesnames, property names and values, androuting.template_locationscontaining{ } ; @ " ' \or newlines.system.tailwindcss_commandis the tailwindcss executable only; arguments (such asnpx tailwindcss) are no longer passed through.
Fixed
- The config read APIs no longer redact
api.access_token_ttl,api.refresh_token_ttlandapp_config.security.default_secrets_provider. - An OAuth/OIDC or SAML login no longer fails with “error matching session state” when a background request (a service worker script update, a
fetchorEventSourcepoller of a tab whose session expired, a prefetch) reaches the app while the user is at the identity provider (#116).
v0.20.6 - 2026-10-28
Changed
- (entry added 2026-11-03) The
oidcprovider uses the email as the user identity only when theemail_verifiedclaim istrue; an absent claim no longer counts as verified. Users of identity providers that omit the claim (Microsoft Entra ID, ADFS, OneLogin) or sendfalse(Keycloak LDAP or brokered users, Cognito federated users) are identified as<provider>:<sub>from this version on, so email-keyed grants, theX-Openrun-Userheader and apps keyed on the email stop matching at their next login. See “Identity providers that do not sendemail_verified” in the Authentication docs for the per-IdP remedies, and thexms_edovsupport andtrust_unverified_emailoption added after this release.
Added
- Builtin users are now accounts in their own
builtin_userstable instead of[builtin_auth.*]config entries.openrun user updategains--disable/--enable(a disabled user cannot log in, and its sessions, API keys and scheduled job authority stop) and--unlock;openrun user show <name>and theuser_getAPI/MCP tool report a user’s groups, state, creation and last login. After ten consecutive wrong passwords an account is locked for 15 minutes. A password change, disable or delete signs the user out of existing browser sessions immediately, and deleting a user revokes their API keys and OAuth tokens. - New RBAC permission
admin:manage: changing who holds theadminpermission (the grants and roles that confer it oradmin:manage, and the membership of the groups those grants reference) through a dynamic config update, and placing a builtin user in such a group, now requiresadmin:manageoradminin addition toconfig:update/user:update. Previously anyconfig:updateholder (such asopenrun-operator) could add themselves to an admin group.admin:manageis never matched by role or API key scope globs. - New RBAC permissions
user:read,user:create,user:update,user:deleteanduser:managegovern builtin user management (previouslyconfig:update/config:read).openrun-operatorincludesuser:manage,openrun-monitorincludesuser:read. The write permissions are never matched by API key scope globs, likeconfig:update. - Resource limits on app code driven by request input. A request body on the Starlark handler routes (html, fragment, api) over
max_request_body_bytes(an[app_config]setting, 10MB by default) is refused with 413.int()refuses a string over 4096 characters;list,tuple,set,sorted,reversed,enumerateandziprefuse an iterable of over 16777216 known elements; a handler recursing over 10000 frames fails. The template functionsuntil,untilStepandseqrefuse over 1000000 items, andrepeat,indent,nindentand therand*functions an output over 16MB.system.memory_high_water_bytes(0 by default, which uses 90% of the Go memory limit whenGOMEMLIMITis set) cancels running Starlark handlers while the server’s memory in use is over the mark. security.login_start_rate_limit(60 by default, 0 disables) caps the login handshakes (form login, OAuth/OIDC, SAML) a client IP may start per minute; further starts get a 429 response. The form login state of an expired login is kept for an hour after its deadline (was a day).
Changed
- Passwords of builtin users are hashed on the server with argon2id (bcrypt hashes from earlier versions are verified and upgraded in place on the next login); the
openrun usercommands send the password as entered, the/_openrun/userAPI fieldpasswordand the MCPuser_addtool fieldpassword(waspassword_hash) take the plaintext. The server enforces a password policy (8 to 128 characters, not equal to the username) and a username syntax (letters, digits and. _ @ + -;admin,anonymousand theopenrun-prefix are reserved). - Grants that managed users through
config:updateneeduser:manage(or the individualuser:*permissions) now. - The
[builtin_auth.*]section ofopenrun.tomlis deprecated: its entries are imported as users at startup when no user of that name exists, an existing user is never changed from the file, and the section will be removed in a later release. A dynamic config document (openrun server update-config) carryingentries.builtin_authis rejected.openrun user listno longer reports a static/dynamic source. - The store plugin records the user of the request in the
_created_byand_updated_byfields of an entry (anonymouswhen the request has no authenticated user); earlier versions always storedadmin. print()output fromapp.starduring app load and audit, and the tailwindcss watcher messages of dev apps, go to the server log instead of the server’s stdout.
Removed
- The default builtin users
test1/test1andtest2/test2, which v0.20.0 to v0.20.5 created on every install, are no longer created. On upgrade they are removed unless their password or groups were changed; a changedtest1ortest2is kept as an ordinary user. Create the users you need withopenrun user add.
Fixed
- Updated certmagic to fix an issue which could cause certificate renewal to fail
- Concurrent requests to an app not loaded on the node (after an idle stop, a deploy or a restart) share one load. Each request used to build and cache its own instance of the app: the extra instances were never closed, each started its own container checks, in stop-first deploy mode all but one request failed with 503, and an orphaned instance’s idle check could stop the container the served instance was proxying to.
- Metadata DB upgrades are safe to run from several server nodes at once: on PostgreSQL the upgrade takes a transaction-level advisory lock and re-reads the schema version under it.
- Template globs (
routing.base_templatesand the template locations) of apps served from disk now also match files supplied by the app spec, as the other file reads already did. - The http plugin sends a multipart form body with a
Content-Lengthheader instead of chunked transfer encoding, like the other body types. - SAML: a configured
sp_key_file/sp_cert_filenow also serves as the decryption key (anEncryptedAssertionfrom the IdP failed with “no decryption certs available”) and signs the response to an IdP-initiated logout. A signedAuthnRequestover the HTTP-Redirect binding signs the query string (SigAlg/Signature) instead of embedding an XML signature the binding does not allow. Logout to an IdP single logout endpoint no longer panics without an SP keypair (the request is sent unsigned), and over the HTTP-Redirect binding the LogoutRequest signs the query string rather than embedding an XML signature. The SP metadata endpoint works without an SP keypair, lists the single logout endpoint, and is valid for seven days rather than 24 nanoseconds.
Security
- The browser pages of the OAuth authorization server (the login/chooser page, the federated login return and the consent page used by the remote CLI and MCP clients) are served only on the auth callback domain (
security.auth_callback_domain, defaultauth.<system.default_domain>), where no app is ever served, and the AS metadata names that endpoint. - The return URL of a federated OAuth login is built from the configuration, no longer from the request
Hostheader, and the OAuth callback, the SAML ACS and the login form submit send their single-use completion token only to a host the server serves. - A pending federated OAuth authorize request is bound to the browser that started it (a cookie on the auth callback domain) and, once the consent page is shown, to the identity it was shown to. A continue link or a consent post from another browser or user is refused; the record id and consent nonce alone mint nothing.
- The OAuth and SAML login completion endpoints (
/_openrun/auth/<provider>/redirect,/_openrun/sso/<provider>/redirect) no longer delete the browser session when a check fails: they are GET requests any site can navigate to, so a crafted link could log the user out. The single-use login state is consumed atomically and the pre-login nonce is dropped from the session once logged in. - An IdP-initiated SAML LogoutRequest clears the local session only when it names the session’s user and was issued within the last ten minutes, so a captured request cannot be replayed to log other users out.
- A Google login now honours the
verified_emailclaim of the userinfo document. An identity row pre-provisioned by an API key takes the IdP subject on the first login; a login with a different real subject never replaces the recorded one. - The admin basic auth reads
security.admin_password_bcryptfrom the effective config on every check instead of caching the credential at startup, and the OAuth/SAML providers are rebuilt whenever a config re-apply carries a differentsecurity.callback_url. Both settings remain static config (openrun.toml, restart to change). A wrong admin username takes as long to reject as a wrong password. - OAuth token refresh applies the same liveness check as the API endpoints: a disabled or deleted builtin user cannot refresh tokens.
- SAML IdP metadata is read with a size bound and its SSO/SLO endpoints must be http(s) URLs; a configured
groups_attris authoritative and no longer falls back to other attributes when the user has no values in it. The client metadata SSRF guard also blocks 0.0.0.0/8 and NAT64 (64:ff9b::/96) addresses that embed a private IPv4. - Builtin user password hashes are no longer stored in the dynamic config document and its history snapshots. On upgrade the users move to the
builtin_userstable (DB version 33) and thebuiltin_authentries are scrubbed from the stored config history. Replacing the dynamic config (openrun server update-config --force) or restoring an old version can no longer delete or resurrect users.
v0.20.5 - 2026-10-21
Security
- The webhook tokens of an app (
settings.webhook_tokens, the credentials of the reload and promote webhook endpoints, which run without further authorization) were returned by the app get and list APIs to every caller withapp:read_detail, while the token list API requiresapp:token_read; the built-inopenrun-monitorrole and the default read-only MCP scope have the former without the latter. The tokens are now returned only to a caller holdingapp:token_readon the app. fs.serve_tmp_filefiles at the default visibility (fs.USER) were served to any user of the app: the download handler compared the visibility with a value the plugin never stored. The file is now served to the registering user only, unless registered withfs.APP; the visibility value is validated. A file was also served through the download route of any app on the server, since the file store is shared; it is now served by the app that registered it only.http.incalls could reach a url the approved argument patterns and the disallow list never saw. Theparamsvalues are merged into the url’s query after the checks ran on theurlargument, so a call could add or replace query values (http.get("https://api.example.com/items?mode=safe", params={"mode": "admin"})) past a pattern that constrained them; the url the request goes out with is now checked the same way a redirect target is.- Plugin permission checks could be bypassed by an approved app (GHSA-qgqh-4fgp-rf5c).
permissions.disallowargument patterns were matched against positional arguments only, so a call passing the restricted argument by keyword (http.get(url = ...)) skipped every deny rule with argument patterns; an entry with argument patterns now blocks a call that passes keyword arguments in place of the positional arguments it covers. Argument patterns were also matched against the raw argument text, and{{secret ...}}templates were resolved afterwards, so a template (asecretcall in a branch that never runs is enough to make a string a template, and needs no secret grant) could assemble a value the checks never saw, for example a cloud metadata address a deny rule blocks. The disallow list and the argument patterns of the permission that approved the call are now checked again on the resolved values. - The
http.inplugin followed redirects without re-checking the target, so a permitted host could redirect the request, with the app’s custom headers, to a host the disallow list or the approved patterns exclude. Each redirect target is now checked as if the app had called the plugin with it, under the method of the redirected request (a 303 after a post is checked as a get), and a redirect is refused when the check fails. - The
methodof apermissions.alloworpermissions.disallowentry accepts aregex:pattern. The defaulthttp.inentry, which auto-allows calls to the app’s own container, usedmethod = "regex:.*"but methods were compared as plain strings, so the entry never matched and the documented behavior did not exist. Thehttp.in<CONTAINER_URL>placeholder is also validated after it is replaced by the container address: the url must stay on the container’s scheme and host, so a suffix such as<CONTAINER_URL>@other-host/can no longer redirect an auto-allowed container call to another host. - Plugin arguments are no longer template evaluated when they are plain strings. Every string argument (including list elements and dict values) of an approved plugin call used to be run through the
{{secret ...}}template engine, with no way to tell a string the app wrote from one taken out of a request. Any user of an app that passed request text to a plugin (a query param into an http call, a form field into a command) could submit{{secret "NAME"}}for a secret the call was approved for and read it back from whatever the plugin returned or sent. Now only template values are evaluated, at any depth in list, tuple and dict arguments: an app level param value containing{{(theparams.stardefault or the--paramvalue, both static) is such a value automatically, so apps passingparam.NAMEto a plugin keep working unchanged; a template built in app code is wrapped explicitly withace.eval("..."), which is a no-op on a value which is already a template. Plain strings, request data and the values a caller supplies for an action or job run pass through literally. A template value supports+with strings (the strings stay literal) andstr()gives the reference text; other string operations are type errors. Apps which put a{{secret ...}}literal directly in a plugin argument must wrap it inace.eval. Container env and build args are unchanged.
Fixed
- The console now lists apps under a replacement sync as soon as its first run claims them (#115). The claim added for #111 wrote the new sync id to the database only, so the in-memory app list used by the console (and the sync detail page’s app list) kept the deleted entry’s id until a server reload, and the apps showed as unmanaged. Claimed apps are now cleared from the caches on commit like reloaded apps, on every server of a cluster.
v0.20.4 - 2026-10-20
Security
- OAuth/OIDC and SAML logins no longer complete with the state token the login started with (GHSA-rw93-hw9g-vc3m, session fixation). That token is visible to whoever started the login, and the final app-domain step checked only that browser’s nonce cookie, so an attacker could start a login, hand the identity provider link to a victim and, once the victim had signed in, finish the login themselves with a session as the victim. The provider callback and the SAML ACS now consume the pre-login state and redirect with a fresh single-use token that expires after a minute, as form login already did.
- The
exec.inplugin is governed by a server allowlist of host executables,security.allowed_exec_commands, in place of the plugin-widepermissions.disallowentry in the default config. The list is empty by default (no host command runs); entries are bare names looked up on the serverPATH, absolute paths, absolute globs (/bin/*,/opt/tools/**) and!exclusions, with"*"allowing every executable. Commands are matched on the file that would run, afterPATHand symlink resolution, so a renamed symlink or a relative path cannot stand in for another program, and the command executes by that resolved path. An exact entry also requires the requested command to have the entry’s name, so on a system where many commands are one multi-call binary (busybox on Alpine, the base of the official image; uutils coreutils on recent Ubuntu) listinglsdoes not admitshorenv(GHSA-2qf8-7646-rxgx). An exclusion matches by file or by name. A per-appexec.inapproval alone no longer grants a command the server does not list. The OpenRun binary itself is always refused. The list is dynamic config; a dynamic update applies to already-loaded apps on their next call, and a malformed entry is rejected. Servers that cleared the disallow list to enable exec must now list the commands their apps run. - The environment an app passes to a host command through
exec.runis bounded by a new server allowlist of variable names,security.allowed_exec_env(GHSA-2qf8-7646-rxgx). Variables such asLD_PRELOAD,BASH_FUNC_*andGIT_SSH_COMMANDmake an allowed program run other code, so an unfiltered environment let an app approved for one harmless command run anything. The list is empty by default: a call passing an unlisted variable is refused, a call passing noenvruns with an empty environment as before. Entries are names, patterns (MYAPP_*),"*"for any, and!exclusions. Dynamic config, validated like the command list. The security documentation now says that each entry in these lists grants code execution to the approved apps and which programs and variables to avoid. - Paths on the server’s disk (an app source directory, an apply or sync file,
apply --pretty-printinput) are accepted over the unix domain socket only. The REST and MCP management APIs and the console’sopenrun_adminplugin calls refuse them with an error. Apps and sync entries whose disk path was recorded by a caller on the server still reload, promote and run from anywhere. Paths undersecurity.remote_disk_read_paths(static config, default["$OPENRUN_HOME/app_src"]: the app builder’s local publish area and the dev mode git checkout area) stay accepted from any caller, so builder-published apps can be created from and re-applied through the console.security.unsafe_enable_remote_disk_read = true(static config) restores the previous behavior. An empty app source is rejected instead of resolving to the server’s working directory, and the folder part of a git url cannot contain..components (it is joined onto the checkout directory).
Added
- A
group:member of an RBAC group definition can name a group from the user’s sign-in (OIDC/SAML groups, builtin user groups) instead of another config group (#112):"reporting-users": ["group:finance-analysts", "group:sales-ops"]matches a user whose login groups include either, checked on each request, and is inherited through nested groups. The name has the same meaning as in a grant’suserslist: the config group of that name if one is defined, and the sign-in group of that name. Previously agroup:member naming no config group was rejected when the config loaded.
Changed
- Destructive MCP tools (an action declared
destructive=True, the destructive management tools) are no longer run at once for a client which cannot confirm them (an older protocol, no form elicitation, a script calling the endpoint directly): the call is refused with a tool error.[api.mcp] destructive_confirmsets the mode:require(the new default),ask(the previous behavior: capable clients are asked, the others run the call at once) orskip(never ask). The mode is overridable per app with theaction.destructive_confirmapp config setting, and an API key created withopenrun apikey create --confirm skipruns destructive tools without the prompt where the mode isask, for headless automation. The audit event of a destructive call records how it was confirmed (confirm=accepted,declined,refused,unsupported,skipped,skipped_by_key).skip_destructive_confirm = trueis kept as the same asdestructive_confirm = "skip". Metadata database version 32 adds the key options column. - A refused destructive MCP call says what the request declared (protocol version, elicitation capability), and the
openrun_statustool of/_openrun/app_mcpreports thedestructive_confirmmode and whether the connection can confirm (can_confirm); the endpoint instructions state the rule. - The
Hintscolumn ofopenrun action listand theHints:line ofopenrun action showspell the hints out:readonly,destructive,idempotent,open_world(werero,idem,open).
v0.20.3 - 2026-10-14
Fixed
- A sync that was deleted and scheduled again now claims the apps it finds up to date on its first run, so the console lists them under the new entry (#111). Previously an app recorded the sync that last reloaded or updated it only, so after a replacement every unchanged app kept the deleted entry’s id and showed as unmanaged until its repo got a new commit or its declaration changed. The id is written once per app, when it differs; imperative reloads still leave it alone.
applyand scheduled syncs now save a declaration-only change (a param, container option, spec, auth or otherapp()setting) to an app whose git repo has no new commit (#109). With--reload=matched(the default) or--reload=updated, the up-to-date check skipped the code reload and the merged declaration was dropped with it, so the app was reported as both updated and skipped and every later sync run found the same difference.
Added
- Docker/Podman: old images and containers of prod and stage apps are now cleaned up as new versions are deployed (#108). The superseded version’s containers are removed (not just stopped) when a deploy commits, and the new
container.retain_previous_imagesapp config setting (default1) controls how many older versions keep their image for a quickversion switch/version revert; the images of the current version of each app copy and of versions newer than the current one are always kept,-1keeps every image. Switching to a version whose image was removed rebuilds it from the stored source. Each app version now records the image it was deployed with (image_namein the version metadata); images of versions deployed before this release are not tracked and are removed on the first deploy unless a container still uses them.
v0.20.2 - 2026-10-13
Fixed
- Litestream replication to Google Cloud Storage through its S3-compatible endpoint (
storage.googleapis.comwith an HMAC key) failed withSignatureDoesNotMatch, because the AWS SDK signed theAccept-Encodingheader that GCS rewrites in transit (#107). Litestream is updated to v0.5.17, which leaves the header out of the signature forgoogleapis.comendpoints, and the replica listing client used byopenrun replication statusand by app deploys (restores of replicated SQLite bindings) applies the same rule and the same S3-compatible checksum settings as Litestream. Added thesign_accept_encodinglitestream config key (defaulttrue) for other S3-compatible services with the same problem; it is passed through to the app replication sidecar and restore URLs.truncate_page_n = 0keeps disabling the blocking TRUNCATE checkpoint: Litestream 0.5.16+ treats 0 as its default threshold, so OpenRun now passes the disabling value (-1) to the embedded library and the sidecar config.
Changed
- Secret access for containerized apps is now reported at every step instead of failing silently on the first request (#105). The default server config allows the
container.configcall without secrets, so an app declaringsecrets=[...]on that permission deploys without approval but cannot resolve them until approved.app create,app reloadandapplynow print a warning (on stderr) when an app declares secret access that is neither approved nor allowed by the server config;param updateandapp update container_argswarn when the new value references a secret the app cannot resolve, or when the update declares the access (thesecretsparam); and the container start error says which permission to declare and thatopenrun app approve <path>grants it.app approve(and--approve) reports the permissions it records as approved, including server-covered ones, instead of “No approval required”. The audit result gainschanged,approved,ungranted_secretsandmain_app_path; the staged update responses gainwarnings. The built-in container specs default theirsecretsparam to empty, so a new app passing no secrets requests none; set--param secrets='[["name"]]'to declare the access. Existing apps are unaffected: the approval rules are unchanged.
Added
- Access log (
logs/access.log) entries now includerequest_id,user_idandapp_id. The request id matches the audit events for the request, and the user and app ids are empty for unauthenticated and non-app requests (#106).
v0.20.1 - 2026-10-13
Added
- Added the global CLI flag
--server-uri <uri>(or theOPENRUN_SERVER_URIenv variable): the server uri to connect to, a unix socket path orhttps://host[:port]. When set it takes precedence overserver_uriin the config file, so one client config can be used against multiple servers (openrun --server-uri https://staging.example.com:25223 app list).
v0.20.0 - 2026-09-28
This release adds support for running Actions through CLI and MCP (in addition to the web UI interface). See https://openrun.dev/docs/actions/#mcp-tools Support is added for running Actions asynchronously. Async actions run without being tied to the client session, run history is maintained for async actions https://openrun.dev/docs/actions/#async-actions
Security
- Updated
gosaml2to v0.12.0 andgoxmldsigto v1.6.1 to reject unsigned logout responses, bound XML parsing complexity, and reject malformed encrypted assertions without panicking. Delayed logout responses no longer clear a newer login session.
Added
- Added the
actions.starandaction_params.starconvention files: an app built from a spec (or any app) declares actions inactions.star(actions = [ace.action(...)], optionallypermissions = [ace.permission(...)]) without copying the spec’sapp.star, andaction_params.stardeclares the params the actions present. Whenaction_params.starexists, only its params are shown on the action UI, REST API, CLI and MCP tool schema and passed inargs; they are app params otherwise (--param,openrun param update, theparammodule, the container environment). A required action param no longer needs a value at create time. - Added async actions:
ace.action(..., is_async=True, timeout="2h")runs the handler in the background as the submitting user and records the run (its args, status, the first and last 10MB of a streamed command’s output or up to 100MB of result values) in the metadata database, the last 100 runs per app instance. The action page gets a run card, a run page with live output and a runs list with cancel and run again; the REST API answers202with the run id and serves/api/runs; the CLI adds--waitand--followtoaction run(both report the run id on stderr as soon as the run starts) and theaction runs,action outputandaction cancelcommands; the MCP tools of the app return the run id (or wait withwait_seconds) and gainget_run,list_runsandcancel_run; the management API and MCP surface gainlist_action_runs,get_action_run,action_run_outputandcancel_action_run. The limits and the timeout are[app_config]action.*settings, overridable per app. A run keeps executing on the app version it started with through a reload; a run whose node stops is markedlost. - Added the
openrun actioncommands (list,show,run,validate,suggest,openapi) to list and run app actions from the CLI, locally or through a remote CLI. Args are passed asname=value(or--json, withname=@filefor file uploads), results are written as a table, text or JSON (--format json|jsonl|csv), streamed commands write their output as produced and the CLI exits with the command’s exit code (2 for param validation errors), and--outputsaves the files of download and image results (fetched as the calling user). - Added side-effect hints to
ace.action:read_only,destructive,idempotentandopen_world(eachTrue/False, none by default). They become the tool annotations of the action’s MCP tool, are shown byopenrun action list(aHintscolumn) andopenrun action show, and returned ashintsbylist_actionsandget_action. An action declareddestructive=Trueshows a Destructive badge on its page, and its MCP tool (and the managementrun_actiontool for it) asks capable clients (protocol 2026-07-28 with elicitation) to confirm before running: the first call validates the arguments and returns the confirmation prompt, the retry with an accepted answer runs the action;[api.mcp] skip_destructive_confirmturns it off. Actions without hints are unchanged. - Added
--mcp=actions("source": "actions"in the mcp document): the app’s actions are served as MCP tools at<app>/mcp, beside the form UI. One tool per action with the params as the input schema,dry_runto validate, a<tool>_suggesttool for suggest handlers, results as structured content plus a markdown table for the model, param errors as correctable tool errors, streamed commands reported with their output and exit status, the files of image and download results returned inline. The tools listed are the ones the user’s permits allow. - Added the
list_actions,get_action,run_action,suggest_actionandaction_fileoperations to the management REST API and MCP surface. A credential limited by scopes needsapp:accessto use them. - MCP apps:
openrun app create --mcp(also--mcp=/upstream-path,--mcp='{...}',app update mcp, andmcp=in apply files) marks a deployed app as an MCP server whose endpoint OpenRun protects with OAuth 2.1. OpenRun serves the protected resource metadata, issues tokens bound to the app after a login and consent using the app’sauth, enforces RBACapp:accessand optional app-declared scopes with per-tool requirements, strips the token and forwards the identity headers (plusX-Openrun-Scopes/X-Openrun-Client-Id). API keys can be bound to an app withopenrun apikey create --resource app:<path>. MCP apps get a JSON-RPC health probe (TCP probes on Kubernetes) and stage/preview apps accept MCP POSTs. - The OAuth authorization server accepts Client ID Metadata Documents (https client ids), with
api.cimd_allowed_domains,api.cimd_denied_domainsandapi.cimd_allow_private_hosts; dynamic client registration remains as the fallback. Pending authorization codes are stored in the metadata database so multi-node deployments work.
Fixed
- The page the browser shows after an
openrun loginflow is now styled like the server’s login page (stylesheets and fonts loaded from the server just signed in to) and names the server. - CLI error reporting for management API calls goes through one path for every command. A call that gets no response names the configured server instead of Go’s internal request text: a unix socket that is not there says the server may not be running and how to start it, a remote server that cannot be reached says so, and a certificate the client does not trust points at
client.skip_cert_check. A remote call rejected with 401 reports why instead of a bareUnauthorized: no credential found for the server (with theopenrun login --server <url>andOPENRUN_API_KEYways to provide one), or the credential sent was rejected (expired or revoked login or api key). Other error responses report the server’s message as before.
v0.19.4 - 2026-09-08
Added
- Added API support for actions
v0.19.3 - 2026-09-01
Added
- Automatic HTTPS certificates can now be obtained from any ACME compatible CA instead of only Let’s Encrypt:
https.acme_ca_urlsets the CA’s ACME directory URL (enables certmagic even withoutservice_email, for private CAs like step-ca),https.acme_ca_certpoints to a root CA PEM to trust for the CA endpoint, andhttps.acme_eab_key_id/https.acme_eab_mac_keyconfigure External Account Binding for CAs that require it (e.g. ZeroSSL). - Added
https.enable_http_challenge: answers ACME HTTP-01 challenges on the HTTP port (before the HTTPS redirect and auth), in addition to the always-on TLS-ALPN challenge. Works with Let’s Encrypt and custom ACME CAs; the HTTP listener must be reachable by the CA, on port 80 for public CAs.
v0.19.2 - 2026-08-25
Added
- Added sidecar containers for container apps: background workers running the app image with a different command, or companion services from another image (e.g. memcached). Sidecars start in order and are ready before the app container; on Kubernetes they are native sidecars in the app pod (reachable on
localhost), on docker/podman peer containers on a per app network. app deletenow removes the app’s runtime assets: its containers and sidecars, generated images, named volumes and per app network on docker/podman, and its workloads, service and volume claims on Kubernetes. Foreign sidecar images and remote registry images are not removed.- Added
--prunetosync schedule: each sync run deletes the apps and bindings the sync itself created that are no longer present in the apply file. Resources created imperatively and later adopted by the sync are never pruned. Pruning runs in the same transaction as the apply, so a blocked delete fails and rolls back the run. - Added the
openrun delete <filePath> [<appPathGlob>]command, the counterpart ofapplyfor removal: the apps and bindings declared in the file that match the glob are deleted (declared resources that do not exist are skipped and reported). All deletes run in one transaction; a blocked delete rolls the whole command back.
Fixed
- Added the existing
provider:readandprovider:managechecks to the RBAC permission catalog.provider:managenow impliesprovider:read, and the built-in operator/monitor roles include the corresponding provider permission.
v0.19.0 - 2026-08-20
Added
- Added support for dynamically loaded plugins using same go-plugin mechanism as used for bindings
- Added the
static_root_cache_controlapp config property: sets theCache-Controlheader value for files served from an app’sstatic_rootdirectory (favicons and other stable-named root files). Default is empty, no header. The built-in list_apps app setspublic, max-age=3600.
v0.18.18 - 2026-08-12
Added
- Added
openrun_admin.secret_reveal: returns the clear text value of a secret reference (typically an app param holding{{secret_from ...}}), so an HTML app can pass an API key into a served page explicitly while the value lives only in the secret store, never in the app source or git history. - Serving app files directly from the local disk source directory is now driven by the
static_from_diskapp config property instead of being hardcoded to thestatic_diskspec name. - The
ace.appsettings dict now supports anapp_configsection which sets app config properties fromapp.star, e.g.settings={"app_config": {"fs": {"retain_versions": 3}}}. - The
redis/valkeyservice binding is now compiled into the server as a built-in binding type; it no longer needsopenrun provider install redis. Each base binding gets a dedicated ACL user restricted to a unique key prefix (and matching pub/sub channel prefix); derived bindings share the base prefix with grant-controlled patterns. Requires Redis 7+ or Valkey, standalone mode. - Added
openrun server stop --wait: waits for the server process to fully exit instead of returning as soon as shutdown starts (the final litestream sync runs as the process exits, so scripts that move or restore data directories after a stop need this). Over the unix domain socket the server’s pid (now returned by the stop API) is polled; over http(s) the listener port is polled as a best effort signal. Also addedopenrun server status(printsokwhen the server connection works) andopenrun server version(reports the server’s build version and commit).
Fixed
- The
openrunCLI now discovers a machine scoped Windows service install: whenOPENRUN_HOMEis not set and no config is found relative to the executable (a winget binary is a links shim, so executable-relative discovery finds nothing), it checks%ProgramData%\openrun\openrun.tomland connects to the server’s unix domain socket under that home, like/var/lib/openrunon Linux. Previously the CLI fell back to$HOME\openrunand failed to find the service’s socket unlessOPENRUN_HOMEwas set machine-wide.
v0.18.15 - 2026-07-29
Added
- Added the
sqliteservice binding type: an app bound to a sqlite service gets a persistent volume (Docker/Podman named volume or Kubernetes PVC,ReadWriteOncewith single replica andRecreatestrategy) holding its SQLite database files, surfaced through theSQLITE_URL/SQLITE_DB_PATH/SQLITE_DIRenv variables. The mount directory defaults to/dataand is configurable per binding with thepathbinding config key. An app can have one sqlite binding and a binding can be attached to one app (single-writer database); derived bindings and grants are not supported. - Added Litestream-based continuous replication to S3-compatible storage, configured as named
[litestream.<name>]server config entries.metadata.litestream_configreplicates the server’s own metadata and audit databases (embedded Litestream, restore-on-startup rebuilds a lost node from the replica); a sqlite service’slitestream_configconfig replicates its apps’ databases via a per-app replication container (Docker/Podman) or restore init containers plus a native sidecar in the app pod (Kubernetes 1.29+). Every*.dbfile in the binding directory is replicated, missing databases are restored from the replica before the app starts, and prod/staged environments replicate to separate locations (a linked staging service can use its own litestream config). - Auto bindings can now carry binding config through the
--bindsource reference, e.g.--bind "sqlite;path=/mydata"; the comma separated params become the auto binding’s config, for any service type. Slice CLI flag values are no longer split on commas (pass multiple values by repeating the flag). - Zero downtime in-place restarts (Linux/macOS):
openrun server restart(orSIGHUP, orPOST /_openrun/restart) re-execs the server binary and hands the HTTP/HTTPS/unix-socket listeners to the new process. - Added login page for system and builtin auth type and generic logout page
- Add support for Windows binary signing with signpath.io
Fixed
- Fix WAL cleanup for SQLite based metadata
v0.18.7 - 2026-07-20
Added
- Added out-of-process binding providers: new binding types (mongodb, redis/valkey, sqlserver, oracle) are built as standalone executables in the openrundev/bindings repo and invoked by the server over gRPC using hashicorp/go-plugin, so adding a binding type no longer grows the openrun binary or its dependency tree. Providers are installed with the new
openrun provider install/uninstall/listcommands (/_openrun/providerAPIs, gated by the newprovider:read/provider:manageRBAC permissions); the install is recorded in the metadata database with pinned sha256 checksums, so it survives restarts and propagates to all server replicas — each replica materializes the verified binaries into thebindings.cache_dirlocal cache at startup, before serving traffic, making installs work on Kubernetes multi-replica deployments. - Added the OCI image distribution path for binding providers: each provider release also publishes a minimal
FROM scratchimage (ghcr.io/openrundev/openrun-binding-<name>), and the Helm chart’sbindings.imagesvalues render one init container per provider which copies the binary (via the provider binary’s newexportsubcommand) into a shared volume. The server registers pre-placed provider executables from the newbindings.preinstalled_dirconfig at startup, with no downloads and no database registration — integrity comes from the image digests, and the sha256 computed at discovery is verified on every provider launch. The newbindings.disable_installconfig (chart valuebindings.disableInstall) rejects the imperativeopenrun provider install/uninstallAPI/CLI, for deployments where providers are managed only declaratively. - Add agent builder support using ACP integration
- Added the
builtinapp auth type: username/password authentication (HTTP Basic) against[builtin_auth.<username>]config entries, each with a bcryptpasswordhash and agroupslist used for RBACgroup:matching (user id isbuiltin:<username>in grants). Users can be defined statically inopenrun.tomlor managed dynamically with the newopenrun user add/update/delete/listcommands (/_openrun/userAPIs), which take effect immediately without a server restart and shadow static entries of the same name. Useful for small deployments and for testing RBAC policies with multiple users and groups without setting up OAuth/SAML. - Added the global CLI flag
--as <provider>:<username>(e.g.openrun --as builtin:user1 app list): the management API call runs as the given user with RBAC enforcement (permission checks, list filtering, the owner rule, audit attribution) instead of as the trusted administrator. Supported over the unix domain socket only and requires RBAC to be enabled; forbuiltin:users the entry must exist and its groups feedgroup:grant matching, other provider ids (e.g.github:user) are taken literally with no groups so grants for SSO identities can be tested without creating them. Useful for testing RBAC policies from the CLI without going through an app. - The
stop_servermanagement API now enforces theserver:stopRBAC permission (reachable only through--as; the trusted admin CLI is unaffected). - Service and binding RBAC permissions are now scoped by grant targets, like app permissions. Grant
targetsacceptservice:<glob>entries matched against service ids (<type>/<name>, e.g.service:postgres/*) andbinding:<glob>entries matched against binding paths (e.g.binding:/apps/team1/**);allmatches every app, service and binding. New permissions:service:bind(provision binding accounts on a service, required to create base/auto bindings from it),binding:use(attach a binding to an app or derive a new binding from it),binding:reveal(read back binding account credentials withbinding show-account; likesecret:revealit always needs an explicit grant — it is never implied bybinding:manageand binding owners do not hold it by default, opt owners in viaowner_permissions.binding), and theservice:manage/binding:managecomposites. Attaching bindings at app create/update/apply time now enforcesbinding:use/service:bindfor newly added bindings, sync background runs enforce them against the frozen creator snapshot, and service/binding list operations (including export) return only the entries the user can read. The creator of a service or binding holds the owner permissions on it (defaultservice:manage/binding:manage, configurable viaowner_permissions).
Changed
service:*andbinding:*permissions are no longer global. A grant that should confer them must includeservice:/binding:target entries (or use thealltarget); grants whose targets only name app paths no longer confer any service or binding permissions. Sync entries created before this change froze grants without typed targets — recreate RBAC-snapshotted syncs whose apply files manage bindings.- The app-level binding source whitelist is removed in favor of the scoped RBAC checks: the
--bind-permflag,openrun app update bind-perm, thebind_permapply file argument, thepermissions.binding_source_permsserver config and the runtime container-start source check are gone, and approval no longer covers binding sources. Binding access authority is now checked when the binding is attached (RBACbinding:use/service:bind); with RBAC disabled, management operations are admin-only as usual.
Fixed
- App version history now records the user who created each version (create, update, reload, apply, promote). Previously every
app_versionsrow was attributed toadminregardless of the caller, so version listings misattributed changes made by RBAC/SSO/builtin users. Trusted CLI/UDS calls (no user identity) keep theadminattribution. - RBAC
regex:user patterns (ingrant.usersand group members) now must match the entire user ID instead of any substring. Patterns already anchored with^...$behave the same as before. - Grant target globs are now validated when the RBAC config is updated. A malformed target previously caused authorization checks that evaluated the grant to error at request time.
v0.18.6 - 2026-07-13
Added
- Added an embedded secrets store: the
dbsecret provider encrypts values with AES-256-GCM and saves them in the metadata database. The master key is auto generated into$OPENRUN_HOME/config/secret.keyor can be a{{secret_from ...}}reference resolved through another provider (for Kubernetes, mount it from a native Secret). Secrets are managed with theopenrun secret create/list/show/delete/rekeycommands, the/_openrun/secretmanagement APIs and theopenrun_adminplugin (create_secret,get_secret,list_secrets,delete_secret,rekey_secrets);creategenerates a unique name from a prefix and prints the{{secret_from "db" "<name>"}}reference to use. Newsecret:create,secret:read,secret:deleteandsecret:revealRBAC permissions gate the APIs. - The management console can now store values as secrets with one click: value fields in app params, service and binding config, config entry forms (OAuth client id/secret, git auth) and the system config key/value tables have a lock button which encrypts the value (or a picked file’s content, for example an SSH private key) into the embedded secrets store and replaces the field with the generated
{{secret ...}}reference. - Added the
git_authsettingprivate_keyfor providing the SSH private key contents inline (supports{{secret ...}}references), as an alternative tokey_file_path. - Added the app code setting
container.separate_stage_prod_imagesfor specs that need distinct staging and production container images. - With structured templates, a route’s
fulltemplate (and template names passed toace.response) can now name a{{define}}block from the base templates instead of a template file, so fragment-only endpoints need no dedicated template file. - Added the
static_diskapp spec for serving static files directly from a local source directory without storing the static file contents in the metadata database. - Container management operations are now gated by RBAC. New
container:readpermission covers listing containers, getting container details, logs and Kubernetes stats/status; newcontainer:managepermission covers starting and stopping managed containers (and impliescontainer:read). These operations previously had no RBAC check. - Added the
audit:readRBAC permission, which grants read access to the audit log across all apps. It gates thelist_audit_eventsandlist_operationsplugin APIs, which previously had no RBAC check.
Fixed
- The
delete_appsplugin API now rejects an empty path glob instead of matching every app: a caller omitting the path argument could previously delete all apps (the HTTP route already validated this, plugin calls did not). - Scheduled sync runs now record a synthesized request id on their audit events, attributed to the user who created the sync. These events previously had no request id since no HTTP request is behind a scheduled run, so they could not be traced; now all events of one run share an id and the audit trace shows everything the run did.
Changed
- App responses now include baseline security headers by default: the new
security.headers_levelapp config defaults to 2, which addsX-Content-Type-Options: nosniff,X-Frame-Options: SAMEORIGINandReferrer-Policy: strict-origin-when-cross-originwhen the app did not set its own value. Apps embedded in cross-origin iframes needsecurity.headers_level = 0(settable per app withopenrun app update conf) or an app-providedX-Frame-Options/CSP header, which takes precedence. Levels 5 and 10 opt into stricter sets (HSTS, CSP). - The proxy write-access check for staging and preview apps (
stage_enable_write_access/preview_enable_write_access) now treats every method other than GET, HEAD and OPTIONS as a write, so PATCH and custom verbs fail closed; denied requests now return 403 instead of 500. - New production apps now create their linked staging app on a staging subdomain by default, for example
stage.example.com:/app, instead of suffixing_cl_stageto the production path. Usesystem.stage_at,system.default_stage_domain,openrun app create --stage-at, or declarativestage_atto choose path-based staging or a specific staging domain for new apps. - Containerized staging and production apps now share the same generated image name by default when the build inputs match, avoiding a second image build during production promotion. Specs can opt out with
settings={"container": {"separate_stage_prod_images": True}}. - Kubernetes deploys now watch Deployment rollout status instead of relying only on repeated polling, reducing API overhead and returning sooner when Kubernetes reports readiness or rollout failure. The watch path uses the same
container.deploy_health_attemptsbudget, and the best-effort EndpointSlice convergence check now skips immediately when the Kubernetes API or RBAC policy does not allow listing EndpointSlices. - Docker/Podman container names and image tags are much shorter: the version suffix is now the first 16 chars of the content hash (matching Kubernetes workload names) instead of a base32 encoding of the full hash, for example
clc-app_prd_<id>-e96c79f753cfafffinstead of a 143-character name. Containers running under the old names are stopped by the stale-container sweeper after upgrade and the app is recreated under the new name on its next request; images built under old tags are not reused.
v0.18.2 - 2026-06-28
Added
- Added the app internal
/_openrun_app/verify_file/{file_name}API to verify that an app-relative source file exists and return its size.
v0.17.8 - 2026-06-03
Fixed
- Fixed service stop error when running as windows service
v0.17.7 - 2026-06-02
Security
- Fixed an open redirect issue reported by @Fushuling https://github.com/openrundev/openrun/security/advisories/GHSA-h5g6-xmh4-hc37
v0.17.6 - 2026-06-01
Added
- Added Windows Service Control Manager support for
openrun server start, allowing OpenRun to run as a native Windows service registered withsc.exe.
v0.17.5 - 2026-05-28
Changed
- Proxied responses now rewrite the
Locationheader so upstream redirects don’t leak the internal backend authority. Absolute Locations pointing at the proxy target are converted to path-only URLs, and path-absolute Locations get any stripped prefix (strip_app/strip_path) restored so the client’s next request lands on the same public route. Cross-host Locations (OAuth/SSO and similar) pass through unchanged.
v0.17.4 - 2026-05-21
Added
- Added forward auth support for apps using auth modifiers such as
system+forward_policy, with named[forward.<name>]configs, trusted forwarded/OpenRun identity headers and configurable copied response headers.
v0.17.3 - 2026-05-18
Changed
- Fix #95: Pull image and update apps which use image spec when app reload is done.
Added
Added background cleanup for stale Docker/Podman containers started by OpenRun. The cleanup stops running OpenRun-labeled containers that are no longer referenced by an active app, and its interval is configurable with
system.stale_container_cleanup_interval_mins.Fix #94: Added
X-Openrun-User-IdandX-Openrun-User-Emailheaders for proxied apps, and exposed the same OIDC subject/email values on the Starlark request asUserSubjectandUserEmail.
v0.17.1 - 2026-04-27
Changed
- Action request bodies are now capped by default at
33554432bytes. The limit can be configured globally withapp_config.action.max_request_body_bytesor overridden per app withopenrun app update conf --promote 'action.max_request_body_bytes=<bytes>' /myapp. http.inrequests now inherit the current request context, support an optionaltimeoutargument with a default of300seconds, and automatically close unread response bodies through deferred plugin cleanup whenbody()orjson()are not called.- Fix #91: Store session info in metadata KV store to avoid cookie size limits
- Fix #85:
openrun app create --cvolandopenrun app update cvolnow reject container volume values that start with--, making missing volume arguments fail clearly instead of consuming the next option as the volume name.
v0.17.0 - 2026-04-22
Added
- Added
security.trusted_proxiesserver config to control which reverse proxies or load balancers are allowed to supply forwarded client IP headers. - Added
system.fallback_unknown_domainsserver config to optionally preserve legacy routing of unknown hostnames to the default domain. - Added
system.builder_auth_tokenserver config for delegated container builds, using a shared bearer token between the main OpenRun install and builder node(s). - Added
security.allowed_mountsserver config to allow administrators to approve host directories that apps may use as container bind-mount sources.
Changed
req.RemoteIPnow ignoresX-Forwarded-ForandX-Real-IPunless the direct peer is listed insecurity.trusted_proxies.- Reverse proxied requests now strip inbound forwarding headers and rebuild a clean
X-Forwarded-*/X-Real-IPset before sending the request upstream. - Requests for unknown
Hostvalues no longer route to the default domain unlesssystem.fallback_unknown_domainsis explicitly enabled. - Delegated builds now require a valid bearer token on
/_openrun/delegate_build. Builder nodes should run withbuilder.mode = "delegate_server"and no longer requiresecurity.admin_over_tcp = truefor delegated-build ingress. Existing delegated-build setups must set the samesystem.builder_auth_tokenvalue on the main install and every builder node before upgrading. - CORS is disabled by default for apps. The default
app_config.cors.allow_originis now empty andapp_config.cors.allow_credentialsis now"false". Apps that need browser cross-origin access must opt in with an app config override such ascors.allow_origin="https://frontend.example.com"orcors.allow_origin="origin". - The default server-level
container.config(...)permission no longer allows access to all secrets. Containerized apps that pass secrets through params, build args or generated secret volumes now need an explicitly approvedcontainer.configpermission with the requiredsecrets=[...]allowlist, unless the server config is intentionally changed to allow those secrets globally. - Container runtime options now only pass raw Docker/Podman flags from app metadata when the flag is explicitly listed in
security.allowed_container_args. Built-incpusandmemoryoptions continue to be parsed by OpenRun and do not require this raw flag allowlist. - Container bind-mount sources are now restricted to the app source directory, the app runtime directory, or directories listed in
security.allowed_mounts. Relative bind sources must stay inside the app source tree.
v0.16.26 - 2026-04-06
Added
- Added
UserId,CustomPerms, andAppRBACEnabledto the request object available in Starlark handlers and HTML templates.
v0.16.24 - 2026-04-03
Added
Added
system.list_apps_titleandsystem.show_hosted_withserver config options to customize the built-in app listing page title and whether it shows theHosted with OpenRuntext.Add the
security.auth_requiredserver config option. When enabled, apps configured withauth="none"are denied at request time with401 Authentication required, providing a server-wide guardrail against unauthenticated app access.
v0.16.22 - 2026-03-25
Added
- Added automatic app version cleanup with a default retention of 5 older versions per app, configurable globally with
app_config.fs.retain_versionsand per app withopenrun app update conf --promote fs.retain_versions=<count> /myapp.
0.16.21 - 2026-03-19
Added
- Support for default permissions in server config. Containerized apps do not require explicit approval.
0.16.19 - 2026-02-13
Added
- Postgres database support for store plugin
Changed
- Changed python appspecs to use uv for managing dependencies
0.16.17 - 2026-02-04
Changed
- Updated appspecs to not use heredocs since Kaniko does not support it
0.16.16 - 2026-02-04
Added
- Lots of changes for Kubernetes support.
0.15.14 - 2025-10-31
Added
- Added
openrun_adminplugin with apis to managesyncjobs, for use by manage_sync app
Changed
- Changed app authentication setting and git auth setting to be stored in app metadata instead of in app settings. This allows those properties to be updated through declarative config. The property is moved over as part of a migration. Also,
app update-metadataCLI command is renamed toapp update. - Changed
app update-settingsCLI command toapp settings.
0.15.13 - 2025-10-28
Added
- Added AWS Systems Manager (SSM) based secrets provider
0.15.12 - 2025-10-27
Changed
- HTTP early hints is disabled by default since that seems to cause issues with HTTP/2 proxies
0.15.11 - 2025-10-27
Added
- Added
/_openrun/healthhealth check endpoint
0.15.10 - 2025-10-26
Added
- Support for passing
X-Openrun-Rbac-Enabledheader to the proxied downstream service. Value is true if RBAC is enabled for app, false otherwise. - Added update_time field to listapps output, app listing will display that info
0.15.9 - 2025-10-22
Added
- Regex support in user value for RBAC. Regex can be used in grant.users and group values, Regex has to be prefixed with
regex: - Support for passing
X-Openrun-Userheader to the proxied downstream service. Value is the user making the request. - Support for passing
X-Openrun-Permsheader to the proxied downstream service. Value is comma separated list of all custom perms granted for the user on that app.custom:prefix is trimmed from the passed values.
Fixed
- Fixed an issue where the source path was not set to
$OPENRUN_HOME/app_srcwhen runningapplyindevmode.
0.15.8 - 2025-10-14
Added
- Enable CSRF protection for internal APIs and for apps. App level CSRF protection is enabled by default.
Use
security.disable_csrf_protection = trueto disable. Disable in app metadata by runningopenrun app update conf --promote 'security.disable_csrf_protection=true' /myapp