---
title: "@clerk/astro 4.1.27: release notes, upgrades and advisories"
description: "@clerk/astro 4.1.27: release notes, breaking changes by major version and 3 known advisories with their fix."
url: https://inlinr.com/packages/@clerk/astro
lang: en
---

[Packages](https://inlinr.com/packages)

# @clerk/astro

4.1.27 · 18 Nov 2026 MIT 46.5k / week [Repository](https://github.com/clerk/javascript) [Homepage](https://clerk.com/) [npm](https://www.npmjs.com/package/@clerk/astro) [Atom feed](https://inlinr.com/packages/feed/@clerk/astro)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/@clerk/astro/upgrade)

LineNewestSecurity

- 4.x 4.1.30 No known advisory Latest line
- 3.x 3.4.20 Safe from 3.0.18 [To 4.1.27](https://inlinr.com/packages/@clerk/astro/upgrade/3.4.20-4.1.27)
- 2.x 2.17.18 Safe from 2.17.11 [To 4.1.27](https://inlinr.com/packages/@clerk/astro/upgrade/2.17.18-4.1.27)
- 1.x 1.5.7 Safe from 1.5.7 [To 4.1.27](https://inlinr.com/packages/@clerk/astro/upgrade/1.5.7-4.1.27)
- 0.x 0.0.4 No known advisory [To 4.1.27](https://inlinr.com/packages/@clerk/astro/upgrade/0.0.4-4.1.27)

## Latest releases

[All 319 releases](https://inlinr.com/packages/@clerk/astro/releases)

1. 4.x · latest line
2. ### [4.1.30](https://inlinr.com/packages/@clerk/astro/releases/4.1.30 "Open this release")  
20 Nov 2026  
Reading the note…
3. 4.1.27 – 4.1.29 3 releases that only update dependencies [@clerk/shared 4.48.2](https://inlinr.com/packages/@clerk/shared) [@clerk/backend 3.31.3](https://inlinr.com/packages/@clerk/backend) Show each
  - [4.1.29](https://inlinr.com/packages/@clerk/astro/releases/4.1.29 "Open this release") [](https://github.com/clerk/javascript/releases/tag/%40clerk/astro%404.1.29 "Read this release where it was published") 20 Nov 2026 [@clerk/shared 4.48.2](https://inlinr.com/packages/@clerk/shared) [@clerk/backend 3.31.3](https://inlinr.com/packages/@clerk/backend)
  - [4.1.28](https://inlinr.com/packages/@clerk/astro/releases/4.1.28 "Open this release") [](https://github.com/clerk/javascript/releases/tag/%40clerk/astro%404.1.28 "Read this release where it was published") 19 Nov 2026 [@clerk/shared 4.48.1](https://inlinr.com/packages/@clerk/shared) [@clerk/backend 3.31.2](https://inlinr.com/packages/@clerk/backend)
  - [4.1.27](https://inlinr.com/packages/@clerk/astro/releases/4.1.27 "Open this release") [](https://github.com/clerk/javascript/releases/tag/%40clerk/astro%404.1.27 "Read this release where it was published") 18 Nov 2026 [@clerk/shared 4.48.0](https://inlinr.com/packages/@clerk/shared) [@clerk/backend 3.31.1](https://inlinr.com/packages/@clerk/backend)
4. ### [4.1.26](https://inlinr.com/packages/@clerk/astro/releases/4.1.26 "Open this release") [](https://github.com/clerk/javascript/releases/tag/%40clerk/astro%404.1.26 "Read this release where it was published")  
18 Nov 2026

  - Fix `$billingStore` so it emits the billing namespace only after Clerk has loaded. Before, it could emit while `clerk.load()` was still running, so a call like `getPlans()` in a subscriber could fail with a `dev_browser_unauthenticated` error on development instances.
  - Fix `clerkMiddleware` so it inserts Clerk's tags only before the document's real `</head>` tag. It no longer matches `</head>` inside attribute values, comments, or the text of elements like `script`, `style`, `textarea`, `title`, and `noscript`, and it now finds a `</head>` tag that is split across streamed chunks. The server data now goes in `<meta>` tags, and clerk-js is preloaded with a `<link>` tag and loaded by the integration's page script.

Dependency tracking

## Know when your own dependencies move

@clerk/astro had 2 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[Details](https://inlinr.com/packages/@clerk/astro/security)

- [Official Clerk JavaScript SDKs: Middleware-based route protection bypass](https://inlinr.com/advisories/GHSA-vqx2-fgx2-5wq9) Critical · fixed in 3.0.15, 2.17.10, 1.5.7
- [Clerk has an authorization bypass when combining organization, billing, or reverification checks](https://inlinr.com/advisories/GHSA-w24r-5266-9c3c) High · fixed in 3.0.18, 2.17.11
- [@clerk/backend Performs Insufficient Verification of Data Authenticity](https://inlinr.com/advisories/GHSA-9mp4-77wg-rwx9) High · fixed in 2.10.2

## Health of 4.1.27

[Details](https://inlinr.com/packages/@clerk/astro/security#signals)

- **Provenance**: Present
- **Publisher**: GitHub Actions
- **Maintainers**: 6
- **Scorecard**: None
- **Size**: 1.0 MB

## Weekly downloads

## Works with

- [astro](https://inlinr.com/packages/astro)

## Same family

- [@clerk/shared 11.8M/wk](https://inlinr.com/packages/@clerk/shared)
- [@clerk/backend 8.4M/wk](https://inlinr.com/packages/@clerk/backend)
- [@clerk/react 5M/wk](https://inlinr.com/packages/@clerk/react)
- [@clerk/nextjs 4.1M/wk](https://inlinr.com/packages/@clerk/nextjs)
- [@clerk/testing 2.1M/wk](https://inlinr.com/packages/@clerk/testing)
- [@clerk/localizations 1.9M/wk](https://inlinr.com/packages/@clerk/localizations)
- [@clerk/clerk-js 1.5M/wk](https://inlinr.com/packages/@clerk/clerk-js)
- [@clerk/ui 751.4k/wk](https://inlinr.com/packages/@clerk/ui)

Reading releases, release notes and advisories…

Registry facts last checked 19 Nov 2026\. Releases and advisories last read 20 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
