Kotlin 漏洞与安全更新
40 条
12月4日周五
Kotlin Ecosystem Security Digest #1
Welcome to the first Kotlin Ecosystem Security Digest. This issue covers security fixes in Kotlin 2.5.0, Ktor, kotlinx.serialization, and kotlinx-io. We’ve also included a critical SQL injection fix in Exposed and other earlier disclosures. Check the versions and features your projects use against the advisories below. The fixed versions show where each patch shipped. When…
12月3日周四
What Spring AI Agent Means for Koog Users
We introduced Koog in May 2025 as an open-source framework for building intelligent, autonomous AI agents on the JVM. Since then, many teams have adopted it for its type safety, graph-based workflows, and enterprise reliability. Today, we’re announcing that Koog’s core ideas will continue to live on and evolve in Spring AI Agent – a…
Spring AI Agent for Java and Kotlin: The Next Step in the JetBrains–Spring Partnership
Today, the Spring team, in strategic collaboration with JetBrains, released Spring AI Agent, a new experimental project for building reliable AI agents inside Spring Boot applications. It shares core design principles with – and was inspired by – Koog, JetBrains’ open-source agent framework for Java and Kotlin. The Spring team develops and maintains the core…
12月2日周三
Kotlin 2.5.0 Released
The Kotlin 2.5.0 release is out and Kotlin/Wasm is Stable! Here are the main highlights: For the complete list of changes, see What’s new in Kotlin 2.5.0 or the release notes on GitHub. We’ve launched the Kotlin Security Newsletter, a monthly digest of security fixes across Kotlin and its ecosystem. How to install Kotlin 2.5.0…
Value classes in Kotlin 2.5.0 and beyond
Kotlin 2.5.0 brings a long-awaited feature: full value classes! They are available in the Alpha stage, and in this blog post we’ll explain what full value classes are, how they compare to data classes, and how they connect to Project Valhalla on the JVM. Full value classes represent the next step towards ergonomic data-oriented programming…
Compose Multiplatform 1.13.0 Released
Compose Multiplatform 1.13.0 is now available, bringing improvements to the iOS, web, and desktop development experience. Read on for the highlights: Want the complete picture? Check out What’s new in Compose Multiplatform 1.13.0 or dive into the release notes on GitHub. Get Started with Compose Multiplatform Content-based sizing in SwiftUI and UIKit Compose views embedded…
12月1日周二
JetBrainsのTeamCityにおける不要な特権による実行に関する脆弱性
JetBrains TeamCity 2026.2.1 および 2026.1.5 以前のバージョンにおいて、Kotlin DSL サンドボックス内のコンテキストパラメータコールバックを介してリモートコードを実行できる脆弱性がありました。
JetBrainsのTeamCityにおける不要な特権による実行に関する脆弱性
JetBrains TeamCity 2026.2.1および2026.1.5より前のバージョンにおいて、Kotlin DSLサンドボックス内のUIパッチコールバックを介してリモートコードが実行される可能性がありました。
JetBrainsのTeamCityにおける信頼できない制御領域からの機能の組み込みに関する脆弱性
JetBrains TeamCityの2026.2.1および2026.1.5より前のバージョンでは、Kotlin DSL設定リポジトリ内のスクリプト定義を介してリモートコード実行が可能でした。
JetBrainsのTeamCityにおける不適切な権限設定に関する脆弱性
JetBrains TeamCity 2026.2.1 および 2026.1.5 より前のバージョンでは、Kotlin DSL サンドボックス内のブートクラスパスライブラリを介してリモートコードが実行可能でした。
JetBrainsのTeamCityにおける不完全なブラックリストに関する脆弱性
JetBrains TeamCity 2026.2.1および2026.1.5以前のバージョンでは、Kotlin DSLサンドボックスのパブリックリフレクションを通じてリモートコードが実行される脆弱性が存在しました。
Kodee’s Kotlin Roundup: Build Your Next App With One Prompt, a New Coroutines Course, and Kotlin on LinkedIn
Hi everyone! Got an app idea you’ve been wanting to bring to life? This month, I’ve got something exciting to show you: how to get started with a multiplatform app using just one prompt! We’ll also explore what’s new in the Kotlin Toolchain 0.14, dive into a free 4-hour Kotlin Coroutines course, and say hello…
11月27日周五
Introducing the Kotlin Security Newsletter
Today, we’re launching the Kotlin Security Newsletter, a single place where you can track security fixes across Kotlin and its ecosystem. We’ll collect recent security fixes across the projects we cover in one digest, publish it on our blog, and send it to your inbox, so you don’t have to follow each Kotlin library or…
Advent of Code 2026: ’Tis the Season to Code in Kotlin
December is almost here, and so is one of our favorite coding traditions! We’re excited to take part in Advent of Code once again and invite you to join us for another season of festive puzzles, clever Kotlin solutions, and friendly competition. Advent of Code is a great opportunity to learn something new and have…
11月26日周四
JetBrainsのTeamCityにおける相対パストラバーサルの脆弱性
JetBrains TeamCityのバージョン2026.2以前、2026.1.4以前、2025.11.8以前において、Kotlin DSL設定を介してサーバー上に任意のファイルを書き込むことが可能でした。
JetBrainsのTeamCityにおける静的に保存されたコード内のディレクティブの不適切な無効化に関する脆弱性
JetBrains TeamCity 2026.2.1および2026.1.5より前のバージョンでは、マトリックスビルドパラメーターを介して生成されたKotlin DSLにコードインジェクションが可能でした。
JetBrainsのTeamCityにおける引数の挿入または変更に関する脆弱性
JetBrains TeamCity のバージョン 2026.2.1 および 2026.1.5 より前のバージョンには、Kotlin DSL コンパイラ引数を介してリモートコード実行が可能である脆弱性が存在していました。
JetBrainsのTeamCityにおける許容された入力値の許可リストに関する脆弱性
JetBrains TeamCity のバージョン 2026.2、2026.1.4、2025.11.8 より前のバージョンにおいては、Kotlin DSL サンドボックス内でのネイティブコードの読み込みを通じてリモートコードが実行される可能性がありました。
Kotlin Heroes: Episode 15 – Anniversary Edition
Kotlin turned 15 this year, and we’re celebrating with the 15th episode of Kotlin Heroes! 💜 Kotlin Heroes is a series of online programming contests, where participants solve algorithmic problems using Kotlin. Whether you’re new to the language or an experienced programmer, it’s a chance to practice your Kotlin skills, challenge yourself, and have some…
11月25日周三
JetBrainsのTeamCityにおけるリンク解釈に関する脆弱性
JetBrains TeamCity のバージョン 2026.2 未満、2026.1.4 未満、2025.11.8 未満において、Kotlin DSL サンドボックス内のファイル書き込みバイパスを介してリモートコードを実行できる脆弱性が存在していました。
JetBrainsのTeamCityにおける不完全なブラックリストに関する脆弱性
JetBrains TeamCityのバージョン2026.2より前、2026.1.4および2025.11.8では、Kotlin DSLサンドボックスを介してサーバー上の任意のファイルを削除できる脆弱性がありました。
JetBrainsのTeamCityにおける不完全なブラックリストに関する脆弱性
JetBrains TeamCityの2026.2以前、2026.1.4および2025.11.8の各バージョンにおいて、Kotlin DSLサンドボックス内でクラス注入を介してリモートコードを実行可能でした。
11月23日周一
Kotlin Benchmark 2.0: How AI Coding Agents Handle Harder Tasks and Closed-Source Code
In July, we released the Kotlin Benchmark – a collection of 105 real repository-level tasks for evaluating AI coding agents’ work with Kotlin. Since then, we’ve updated it to be more representative of what Kotlin teams do, with more reliable results and more data to help you choose an agent-model configuration. The new tasks require…
11月18日周三
Kotlin Toolchain 0.14: Agentic Development and iOS Publishing
The Kotlin Toolchain helps you build and ship multiplatform apps faster, with less setup and configuration. Its CLI provides a unified workflow for building, running, testing, and publishing apps for Android, iOS, desktop, and web, whether you’re developing with AI agents or writing code yourself. Kotlin Toolchain 0.14 makes it easier to publish iOS apps…
11月11日周三
JetBrainsのIntelliJ IDEAにおけるサーバサイドのリクエストフォージェリの脆弱性
JetBrains IntelliJ IDEA のバージョン 2026.3 より前のバージョンでは、kotlin スクリプトが信頼されていないプロジェクトで任意のリポジトリから依存関係のダウンロードをトリガーする可能性がありました。
11月6日周五
The Kotlin Multiplatform Contest Is Open: Win a Trip to KotlinConf
The Kotlin Multiplatform Contest is back! Students and recent graduates, turn your idea into a cross-platform project with Kotlin Multiplatform (KMP). The authors of the top three projects will each win a trip to KotlinConf 2027 in Kraków, Poland, with conference tickets, travel, and accommodation covered by the Kotlin Foundation. Authors of all other valid…
10月30日周五
Kodee’s Kotlin Roundup: Shipaton 2026 Winners, Kotlin 2.5.0-Beta2, and KotlinConf 2027
Hi everyone! It’s been a busy few weeks since my last roundup: the Shipaton 2026 winners are in, and three Kotlin Multiplatform apps took the Ship Kotlin Everywhere Award. In other news, Kotlin 2.5.0 is taking shape with its second Beta, KotlinConf 2027 is officially heading to Kraków with the call for speakers open, and…
10月16日周五
Google Summer of Code 2026 With the Kotlin Foundation: Recap
Google Summer of Code 2026 has wrapped up! This was the Kotlin Foundation’s fourth year participating in GSoC, bringing new contributors into the Kotlin open-source ecosystem through hands-on projects and mentorship. This year, two projects successfully reached completion, tackling two areas of the ecosystem: improving recursion support in the Kotlin/Wasm backend and building a global…
10月15日周四
What Makes a Great KotlinConf Proposal?
The KotlinConf 2027 Call for Papers is now open! We invite developers from across the Kotlin community to bring their ideas, experiences, and expertise to the stage in Kraków. Do you have a Kotlin lesson or discovery that could help other developers? Perhaps you solved a difficult technical problem, introduced Kotlin into an existing codebase,…
10月14日周三
KotlinConf Recap: Lessons from Verifone’s Architect on Kotlin in Mission-Critical Payments
This article was written by an external contributor. Yuri Geronimus’s four-year-old son once asked him what his job was. Yuri told him he writes books: books that describe what he wants to change in the physical world. His son didn’t fully get it. Neither would most engineers: if you understand the words in your application…
10月7日周三
Start Your Next KMP App With Kotlin Toolchain 0.13
The Kotlin Toolchain is a unified entry point into Kotlin. It lets you build JVM, Android, iOS, multiplatform, and server-side applications with a simple declarative configuration. With the release of v0.13, we now recommend the Kotlin Toolchain for most new Kotlin Multiplatform (KMP) projects. Earlier this year, we promoted the Kotlin Toolchain to Alpha. Since…
10月5日周一
Discontinuing Swift Language IDE Support in the Kotlin Multiplatform Plugin
Starting with IntelliJ IDEA 2026.3 and Android Studio Rabbit 2 | 2026.2.2, we’re discontinuing Swift language IDE features in the Kotlin Multiplatform (KMP) plugin. This includes editing, syntax highlighting, and navigation within Swift files and between Swift and Kotlin. Running iOS applications and debugging Kotlin code on iOS will remain fully supported. Kotlin/Native functionality, such…
9月30日周三
The Companions to Come
We are working on extensions to our companions mechanism to unlock new code patterns and improve interoperability across different platforms. This post outlines these new features and provides preliminary guidance on migration. Companion blocks and extensions Many programming languages provide a notion of class or type members – functionality that does not belong to each…
9月29日周二
The State of Kotlin in 2026 Report
In 2026, Kotlin turned fifteen. Over those fifteen years, Kotlin has built a mature ecosystem, been adopted by companies around the world, and established a large and active developer community. Fifteen years is long enough to understand which technology trends lasted and which didn’t. This report looks back at Kotlin’s first fifteen years to see…
9月28日周一
A More Reliable Compilation Scheme for Kotlin Multiplatform Modules
The current compilation approach to Kotlin Multiplatform projects works, but sometimes can lead to unexpected or hard-to-predict behavior. For example: With Kotlin 2.5.0-Beta1, we introduced an optional “separate compilation” approach to KMP that solves both problems: make the compilation results consistent with IDE analysis, and point more consistently to problematic calls of library code from…
9月7日周一
Kotlin 2.4.20 Released
The Kotlin 2.4.20 release is out! Here are the main highlights: For the complete list of changes, see What’s new in Kotlin 2.4.20 or the release notes on GitHub. How to install Kotlin 2.4.20 The latest version of Kotlin is included in the latest versions of IntelliJ IDEA and Android Studio. To update to the…
9月3日周四
Kotlin Toolchain 0.12: Multiplatform Library Publishing, Wasm Apps, and More
Kotlin Toolchain 0.12.0 is out. This release brings some long-awaited features: multiplatform libraries publication, a preview of Wasm application support, Compose Hot Reload from the command line, and more. Read on for the details, and check the release notes for the full list of changes and bug fixes. Additionally, klibs.io now uses the Kotlin Toolchain…
8月26日周三
Compose Multiplatform 1.12.0 Released
Compose Multiplatform 1.12.0 is out! This version brings new tooling for AI assistants, improvements to web resource management, and finer control over desktop window states. Here are the highlights of this release: For a complete overview of the changes, check out What’s new in Compose Multiplatform 1.12.0 or the release notes on GitHub. Get Started…
8月20日周四
cve-2026-47850 - MEDIUM - Spring Data REST allows mutation of the version property of immutable aggregates via PUT
Spring Data REST does not preserve the persisted version ( @Version ) property of an aggregate root when handling an HTTP PUT against an immutable target type. For mutable aggregates, the PUT merge logic explicitly retains the stored identifier and version properties, discarding any client-supplied values. For immutable aggregates — Java records, Kotlin data classes, all-args @PersistenceCreator types — or when a polymorphic ( @JsonTypeInfo ) subtype change occurs, the merge instead returns the request-body object and restores only Jackson @JsonIgnore -marked properties from storage. The vers…
Signatures, be true: domain errors and functional handling in Kotlin
Here’s a function that signs a document: In Kotlin, Unit means the function completes without returning a meaningful value – roughly equivalent to void in Java. Got it? Now, tell me what could go wrong. You can’t. Yet, the code might be invalid. The signing window might have closed. The database might be down. The…