Skip to content

SQLPage

v0.44.1 Security

This release includes 3 security fixes for security teams reviewing exposed deployments.

Published 1d Relational Databases
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →
This release patches 3 known CVEs

Topics

database mysql postgresql server serverless sql
+2 more
sqlite web

Affected surfaces

auth

ReleasePort's take

Moderate signal
editorial:auto 1d

SQLPage v0.44.1 fixes a high-severity OIDC protected path authentication bypass and several other security and bugfix issues.

Why it matters: The release patches a high‑severity (severity 90) OIDC authentication bypass affecting custom `oidc_protected_paths`; operators should upgrade immediately to prevent unauthorized access.

Summary

AI summary

High‑severity OIDC protected path bypass fixed; three additional security hardenings applied.

Changes in this release

Security Critical

Fixes high-severity OIDC protected path authentication bypass.

Fixes high-severity OIDC protected path authentication bypass.

Source: llm_adapter@2026-06-12

Confidence: high

Security Medium

Fixes medium-severity exposure of private SQL files after `run_sql` includes.

Fixes medium-severity exposure of private SQL files after `run_sql` includes.

Source: llm_adapter@2026-06-12

Confidence: high

Bugfix Medium

Prevents download filename corruption by safely quoting `filename` in `Content-Disposition`.

Prevents download filename corruption by safely quoting `filename` in `Content-Disposition`.

Source: llm_adapter@2026-06-12

Confidence: low

Bugfix Medium

Rejects unsafe OIDC redirect targets containing backslashes or control characters.

Rejects unsafe OIDC redirect targets containing backslashes or control characters.

Source: llm_adapter@2026-06-12

Confidence: low

Bugfix Medium

Binds `sqlpage.oidc_logout_url` links to the current session, preventing forced logout of another browser.

Binds `sqlpage.oidc_logout_url` links to the current session, preventing forced logout of another browser.

Source: llm_adapter@2026-06-12

Confidence: low

Bugfix Low

Suppresses debug error messages in production environments.

Suppresses debug error messages in production environments.

Source: llm_adapter@2026-06-12

Confidence: high

Full changelog

An AI-assisted security audit found three vulnerabilities: one authentication bypass that is high severity for affected OIDC deployments, and two lower-severity issues. It also led to three hardening changes. Upgrade now if you use custom OIDC protected paths.

Security fixes:

  • High severity for affected OIDC deployments: protected path bypass.
    • Affected: sites using OIDC with custom oidc_protected_paths, such as ["/admin"], to protect only part of the site.
    • Not affected: sites not using OIDC, or using the default oidc_protected_paths = ["/"] to protect the whole site.
    • Impact: an unauthenticated attacker could use percent-encoded URLs to access pages that should require login. The fix checks decoded request paths against decoded oidc_protected_paths and oidc_public_paths.
  • Medium severity: private SQL files could be served after privileged run_sql includes.
    • Affected: apps that call sqlpage.run_sql(...) on private paths such as sqlpage/, dotfiles, absolute paths, or ../ paths.
    • Impact: an attacker who knew the path could request the cached file directly and run it as a public page for a few milliseconds.
  • Low severity: debug error messages displayed in production
    • Affected: environment = "production" and pages that can error while serving JSON, NDJSON, SSE, or CSV contents.
    • Impact: an attacker could gather private information about your database schema through error messages.

Additional hardening:

  • Safely quote csv and download filename values in Content-Disposition, preventing download filename corruption.
  • Reject unsafe OIDC redirect targets containing backslashes or control characters, affecting user-controlled login return targets and sqlpage.oidc_logout_url.
  • Bind sqlpage.oidc_logout_url links to the current session, preventing forced logout of another browser.

Security Fixes

  • High severity OIDC protected path bypass — unauthenticated attackers could access restricted pages via percent‑encoded URLs; fix decodes request paths before checking against `oidc_protected_paths` and `oidc_public_paths`.
  • Medium severity private SQL file exposure after privileged `run_sql` includes; attacker could briefly serve cached files as public pages.
  • Low severity debug error messages displayed in production, leaking database schema information.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track SQLPage

Get notified when new releases ship.

Sign up free

About SQLPage

SQL-only dynamic website builder.

All releases →

Beta — feedback welcome: [email protected]