VDB
Sign up
MEDIUM5.4

PYSEC-2026-2006

Defining resource name as integer may give unintended access in vantage6

Quick fix

PYSEC-2026-2006 — vantage6: upgrade to the fixed version with the command below.

pip install --upgrade 'vantage6>=4.0.0'

Details

### Impact Malicious users may try to get access to resources they are not allowed to see, by creating resources with integers as names.

One example where this is a risk, is when users define which users are allowed to run algorithms on their node. This may be defined by username or user id. Now, for example, if user id 13 is allowed to run tasks, and an attacker creates a username with username '13', they would be wrongly allowed to run an algorithm.

There may also be other places in the code where such a mixup of resource ID or name leads to issues. The best solution we see is therefore to check when resources are created or modified, that the resource name always starts with a character.

### Patches To be done, probably in v3.9

### Workarounds None

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/vantage6
Introduced in: 0Fixed in: 4.0.0
Fixpip install --upgrade 'vantage6>=4.0.0'

References