The latest minor of the current major receives security patches. The last minor of the prior major receives security-only fixes for twelve months after the major shipped. The patch cadence is opportunistic; backports beyond this table are not guaranteed.
| Version | Supported |
|---|---|
| 3.x (latest minor) | ✅ |
| 2.20.x | |
| < 2.20 | ❌ |
| 1.x | ❌ |
Upgrading from 2.x costs nothing: 3.0 made no breaking change — the
public surface is identical to 2.18.0 — so the supported version is a
version bump away. See CHANGELOG.md.
Do not open a public GitHub issue for security vulnerabilities.
Email [email protected] with:
- A clear reproduction (Lua snippet + Rust embed code if applicable)
- The luna version (
luna --versionorcargo tree -p luna-jit) - The platform (OS + arch + Rust toolchain version)
- Your assessment of impact (sandbox escape / DoS / info leak / etc)
- A 90-day disclosure window proposal (default: 90 days from report to public disclosure, accelerated if a fix lands sooner)
You can expect:
- Acknowledgement within 5 business days
- A triage decision (in-scope / not-in-scope) within 14 days
- For in-scope reports, a fix target date + CVE coordination
- Public disclosure via
CHANGELOG.md+ a GitHub Security Advisory on the agreed window
In scope:
- Sandbox escape from
Vm::new(noopen_os_io/open_debug/open_packagecalled) — any path that reachesstd::processorstd::fsfrom inside Lua - Memory safety issues in the JIT path (
luna-jit) - Memory safety issues in the AOT runtime helpers (
luna-runtime-helpers) - Bytecode loader vulnerabilities (
Vm::allow_bytecode_loading) when the loader is fed deliberately malformed.luac - Cross-thread races under
feature = "send"SendVm - Userdata
__gcfinalizer ordering bugs that allow use-after-free
Out of scope:
- Lua VM semantic bugs that don't have a security impact (file these as regular issues, or run them through the dogfood report channel)
- Performance issues — see
docs/performance.mdfor the measurement methodology and the per-release perf gate - Issues in
cargo audit-flagged transitive dependencies that don't reach a luna call path (file upstream) - Compromise of the
crates.iopublishing pipeline (separately monitored)
luna's threat model + defense-in-depth contracts are documented in
docs/security.md. Key invariants:
- 0 unsafe at the embedder surface — any
pubitem that requires the caller to writeunsafeis a regression - luna-core 0 third-party deps — the smallest crate ships with
zero supply-chain surface; the contract is CI-enforced via
cargo deny check - Opt-in OS facilities —
io,os,debug,packageare closed by default; embedders must explicitly open them
Researchers who disclose responsibly are credited, with their consent,
in the release notes for the fix and in a THANKS.md that will be
created at the first such disclosure — there has not been one yet, so
the file does not exist. For embargoed reports, credit lands at the
disclosure window.
Last updated 2026-08-15. For the threat model + sandbox boundary
documentation, see docs/security.md.