Intel

AIKIDO-2026-10073

borgmatic is vulnerable to Command Injection

Command Injection Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

77

High Risk

This Affects:

PYTHONborgmatic
1.0.0 - 2.0.13
Fixed in 2.1.0

TL;DR

Affected versions of this package are vulnerable to shell injection via constant interpolation in command hooks because unescaped constant values could be executed in the shell when used in hook commands. This could allow an attacker controlling configuration constants to inject and run arbitrary shell commands. The issue is fixed by requiring proper interpolation escaping in these contexts.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

borgmatic is vulnerable to Command Injection in versions 1.0.0 - 2.0.13.

How to fix this

Upgrade the borgmatic library to the patch version.