# GHSA-RRP4-8JHW-33JG: @seroval/transport JSON reader can call app-registered functions

- Database: GitHub
- Severity: CVSS 7.3 (High)
- Published: 2026-11-13
- Modified: 2026-11-13

## Affected versions

- @seroval/transport (npm): from 0.1.0, through 0.1.1

## Description

## Summary

The JSON reader of `@seroval/transport` can call a function while it reads a message (CWE-843). This breaks the reader's documented promise that it never runs code from the messages. It is a variant of CVE-2026-104846 in a different package.

## Impact

Apps that read untrusted input with `fromJSONStream` or `createJSONReader` are affected, but only if they register functions with `createReference`. A peer that sends messages to such a reader can make it call one of those registered functions, and can pick the value the read resolves to. What this allows depends on what the app's registered functions do. Apps that register no functions are not affected. `createJSReader` and `fromJSStream` are not part of this advisory: they run messages with `eval` and are documented as trusted-input only.

## Affected versions

`@seroval/transport` 0.1.0 to 0.1.1.

## Patches

Fixed in `@seroval/transport` 0.1.2.

## Workarounds

None. If you cannot upgrade, do not read untrusted messages with the JSON reader in an app that registers functions with `createReference`.

## References

- CVE-2026-104846 / GHSA-p6vx-979v-rg4c

## References

- https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-rrp4-8jhw-33jg

Page: https://cve.now/GHSA-RRP4-8JHW-33JG

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
