Repository navigation
Update promptly
This release fixes a critical security issue. Version 1.5.0 and earlier could
execute arbitrary commands during an ordinaryrune build— cloning a repository
and building it was enough. The compiled program never had to be run.Update Torvik to 1.5.2 as well. Both tools were independently affected.
What was wrong
runebuilds thetorvccommand line by interpolating values read from a
project'storvik.rune. Those values were not validated, so a manifest
containing shell syntax executed arbitrary commands. Affected fields:name,
and under[build],entry,arch,link-scriptandlink-with.What changed
All manifest values are validated before use. Names, entry symbols and target
triples are restricted to a character allowlist; paths are screened for shell
metacharacters. A rejected value produces a clear message naming the field.A manifest may also define a custom
runnercommand, whichrune runexecutes
by design. That is not a vulnerability — it is the feature's purpose, andrune
prints the command before running it — but it is a good reason to read an
unfamiliartorvik.runebefore running anything from it.Upgrading
rune installs with Torvik. To install just rune:
Linux
curl -fsSL https://raw.githubusercontent.com/torvik-lang/rune/main/linux/install.sh | shWindows (PowerShell)
iwr -useb https://raw.githubusercontent.com/torvik-lang/rune/main/windows/install.ps1 >| iexAlready installed?:
rune self-updateNo manifest changes are required for any project whose values were
already ordinary.Full details: SECURITY.md, advisory RUNE-2026-001.