---
id: "CVE-2026-64682"
page: "https://infrastack.ai/live/CVE-2026-64682"
kind: "vulnerability"
aliases: ["CVE-2026-64682"]
title: "AstroBlocks: forged admin session tokens grant full CMS control"
severity: "critical"
cvss: 9.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["astro", "cms", "javascript", "package", "self-hosted"]
not_affected_if: ["admin-not-exposed", "version-3.4.0-or-later"]
published_at: "2026-11-11T05:19:52+00:00"
first_seen_at: "2026-11-11T05:25:40+00:00"
updated_at: "2026-11-11T05:26:34+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64682", "first_seen_at": "2026-11-11T05:25:40+00:00"}]
exploit_sources: []
---

# AstroBlocks: forged admin session tokens grant full CMS control

Link for people: https://infrastack.ai/live/CVE-2026-64682 (this .md is for agents)

AstroBlocks is a block-first content management system for Astro projects. Before version 3.4.0, it falls back to a hard-coded JWT signing secret visible in the published package, so an attacker can forge a session token with the owner role and gain full administrative control.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed AstroBlocks version in `package.json` or `npm ls astroblocks`
- Look for a hard-coded JWT secret fallback in the session code of the installed package
- Confirm whether the JWT secret environment variable is set in the deployment

## Fix

- AstroBlocks: move to `3.4.0` or later

## Timeline

- 2026-11-11T05:25:40+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-64682

## Documents

- [advisory] Vendor advisory: github.com https://github.com/NauelG/astro-blocks/security/advisories/GHSA-mfcg-m7j5-7v72
- [fix] Patch: github.com https://github.com/NauelG/astro-blocks/commit/fd83bf0b37a756363f718e134c16e448da09a74d
- [fix] Release notes: github.com https://github.com/NauelG/astro-blocks/releases/tag/v3.4.0

## From the sources

AstroBlocks is a block-first CMS for Astro projects. Prior to version 3.4.0, admin session tokens can be forged due to a hard-coded fallback JWT secret and a mismatched environment variable name. An attacker who knows the public fallback value (readable in the published package) can forge a valid session token with role: "owner" and obtain full administrative control of the CMS — creating/deleting content, users, media, redirects, and configuration. This issue has been patched in version 3.4.0.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
