<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/cve-2025-68271-openc3-openc3-api-vulnerable-to-unauthenticated-remote-code-execution-bgmchaauj" -->

---
title: CVE-2025-68271 (openc3): openc3-api Vulnerable to...
description: OpenC3 COSMOS has a critical remote code execution vulnerability (CVE-2025-68271) in its JSON-RPC API. The flaw allows unauthenticated attackers to execute...
canonical: https://daily.dev/posts/cve-2025-68271-openc3-openc3-api-vulnerable-to-unauthenticated-remote-code-execution-bgmchaauj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: CVE-2025-68271 (openc3): openc3-api Vulnerable to Unauthenticated Remote Code Execution | daily.dev
og:description: OpenC3 COSMOS has a critical remote code execution vulnerability (CVE-2025-68271) in its JSON-RPC API. The flaw allows unauthenticated attackers to execute...
og:url: https://daily.dev/posts/cve-2025-68271-openc3-openc3-api-vulnerable-to-unauthenticated-remote-code-execution-bgmchaauj
og:image: https://api.daily.dev/og/posts/bGmChAaUJ.png
og:image:alt: CVE-2025-68271 (openc3): openc3-api Vulnerable to Unauthenticated Remote Code Execution
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# CVE-2025-68271 (openc3): openc3-api Vulnerable to Unauthenticated Remote Code Execution

**[RUBYLAND](https://daily.dev/sources/rubyla)** · 1 min read · 0 upvotes · 0 comments

## Summary

OpenC3 COSMOS has a critical remote code execution vulnerability (CVE-2025-68271) in its JSON-RPC API. The flaw allows unauthenticated attackers to execute arbitrary Ruby code through the String#convert_to_value method, which uses eval() on array-like inputs. The vulnerability is triggered before authorization checks, enabling code execution even when requests fail authentication. Versions below 5.0.6 are unaffected, while versions 6.10.2 and above contain the patch.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://rubysec.com/advisories/CVE-2025-68271/>

## Similar posts on daily.dev

- [Unauthenticated Remote Code Execution in OpenCode](https://daily.dev/posts/unauthenticated-remote-code-execution-in-opencode-cxvxefhzp) · Hacker News · 2 upvotes · 0 comments
- [CVE-2026-54696 \(json\): JSON generator heap buffer overflow when streaming to an IO](https://daily.dev/posts/cve-2026-54696-json-json-generator-heap-buffer-overflow-when-streaming-to-an-io-ydm26n7uq) · RUBYLAND · 0 upvotes · 0 comments
- [Over 1,000 GitLab servers vulnerable to ongoing RCE attacks](https://daily.dev/posts/over-1-000-gitlab-servers-vulnerable-to-ongoing-rce-attacks-dsbgbwvkf) · BleepingComputer · 3 upvotes · 0 comments
- [Security Advisory: CVE-2026-81934](https://daily.dev/posts/security-advisory-cve-2026-81934-mduklgchf) · Redis · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#authentication](https://daily.dev/tags/authentication), [#ruby](https://daily.dev/tags/ruby), [#vulnerability](https://daily.dev/tags/vulnerability)

[View this post on daily.dev](https://daily.dev/posts/cve-2025-68271-openc3-openc3-api-vulnerable-to-unauthenticated-remote-code-execution-bgmchaauj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"CVE-2025-68271 (openc3): openc3-api Vulnerable to Unauthenticated Remote Code Execution","url":"https://daily.dev/posts/cve-2025-68271-openc3-openc3-api-vulnerable-to-unauthenticated-remote-code-execution-bgmchaauj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/cve-2025-68271-openc3-openc3-api-vulnerable-to-unauthenticated-remote-code-execution-bgmchaauj"},"datePublished":"2026-01-14T20:22:09.862Z","dateModified":"2026-01-14T20:22:26.390Z","description":"OpenC3 COSMOS has a critical remote code execution vulnerability (CVE-2025-68271) in its JSON-RPC API. The flaw allows unauthenticated attackers to execute...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5fa7bf38a8a9c178c1d458f9f735556c?_a=AQAEulh","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5fa7bf38a8a9c178c1d458f9f735556c?_a=AQAEulh","isAccessibleForFree":true,"articleSection":"RUBYLAND","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"RUBYLAND","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rubyla","url":"https://daily.dev/sources/rubyla"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/cve-2025-68271-openc3-openc3-api-vulnerable-to-unauthenticated-remote-code-execution-bgmchaauj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,authentication,ruby,vulnerability","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"RUBYLAND","item":"https://daily.dev/sources/rubyla"},{"@type":"ListItem","position":3,"name":"CVE-2025-68271 (openc3): openc3-api Vulnerable to Unauthenticated Remote Code Execution"}]}
```

