# Edgeless Systems Contrast panic in transit engine UnmarshalJSON

Source: https://junglewise.ai/threats/edgeless-systems-contrast-panic-in-transit-engine-unmarshaljson-f1fe367f  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-01. Updated: 2026-07-01  
License: CC BY 4.0 with a link back

Severity: medium · CVSS 4.3 · Published 2026-07-01

A vulnerability in the Constrata coordinator transit engine allows an authenticated user to cause the service to crash internally by sending a specially crafted, short encrypted message. While the service automatically recovers from these crashes, an attacker can repeatedly trigger this behavior to flood system logs and degrade performance. This results in a minor service disruption and makes it harder for administrators to monitor legitimate system activity.

Technologies: [Edgeless Systems Contrast](https://junglewise.ai/threats/technologies/contrast), [github.com/edgelesssys/contrast (Go)](https://junglewise.ai/threats/technologies/github-com-edgelesssys-contrast). Vendors: [Edgeless Systems](https://junglewise.ai/threats/vendors/edgeless-systems), [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Medium severity, with a CVSS score of 4.3, published 1 July 2026.

**Which products and versions are affected?** Edgeless Systems Contrast <= 1.20.0; github.com/edgelesssys/contrast (Go) <= 1.20.0.

**Is there a fix for This vulnerability?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is This vulnerability attacked?** It is attacked over the network, in a software library.

**Am I affected?** Check whether you run Edgeless Systems Contrast or github.com/edgelesssys/contrast (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A slice bounds out-of-range panic exists in the `ciphertextContainer.UnmarshalJSON` function within `coordinator/internal/transitengineapi/crypto.go`. The root cause is a lack of length validation on the decoded base64 ciphertext before attempting to extract a 12-byte AES-GCM nonce. An authenticated attacker with a valid mesh certificate can provide a ciphertext shorter than 12 bytes to trigger a Go runtime panic. While the `net/http` recovery mechanism prevents a full process crash, the panic results in a 500 error, connection termination, and the leakage of internal stack traces into the logs. This can be leveraged for log-based denial of service and version fingerprinting. The issue is addressed in version 1.21.0 by adding explicit length checks.

## Affected products

- edgelesssys contrast <= 1.20.0

## Timeline

- 2026-05-27: disclosed
- 2026-07-01: advisory

## References

- [https://github.com/edgelesssys/contrast/security/advisories/GHSA-3ccm-4qq2-5wrp](https://github.com/edgelesssys/contrast/security/advisories/GHSA-3ccm-4qq2-5wrp)
- [https://github.com/edgelesssys/contrast/commit/d6584fbff816037472034f7ad6e08cdbab1d870d](https://github.com/edgelesssys/contrast/commit/d6584fbff816037472034f7ad6e08cdbab1d870d)
- [https://github.com/edgelesssys/contrast/releases/tag/v1.21.0](https://github.com/edgelesssys/contrast/releases/tag/v1.21.0)
- [https://api.github.com/repos/edgelesssys/contrast/security-advisories/GHSA-3ccm-4qq2-5wrp](https://api.github.com/repos/edgelesssys/contrast/security-advisories/GHSA-3ccm-4qq2-5wrp)

## Related threats

- [Contrast improper verification in Coordinator peer recovery](https://junglewise.ai/threats/cve-2026-109359-contrast-1-8-0-before-1-24-1-contains-an-improper-verification)
- [Edgeless Systems Contrast privilege escalation in node installer](https://junglewise.ai/threats/cve-2026-109358-edgeless-systems-contrast-1-8-0-before-1-24-1-contains-an)
- [Edgeless Systems Contrast AML injection in ACPI handler](https://junglewise.ai/threats/cve-2026-100839-contrast-is-a-confidential-computing-runtime-for-kubernetes-in)
- [Edgeless Systems Contrast arbitrary filesystem write in CopyFile policy](https://junglewise.ai/threats/cve-2026-100838-contrast-is-a-confidential-computing-runtime-for-kubernetes-in)
- [Edgeless Systems Contrast panic in ciphertextContainer.UnmarshalJSON](https://junglewise.ai/threats/cve-2026-100836-contrast-through-1-20-0-contains-a-panic-vulnerability-in-the)
