New Go 1.24 os.Root type: Stop Path Traversal Attacks

Опубликовано: 21 Апрель 2026
на канале: Flo Woelki
6,986
338

Golang 1.24 offers a new security enhancement, which we will discuss in this video. If you want to learn the basics of Golang's Concurrency features, check out this video as well:    • Golang Concurrency - All the Basics you ha...  


📝 Description
In this video, we are going to cover the new os.Root type in Golang 1.24, which offers a significant security enhancement for specific file operations. You will learn the following things:
• Why does this vulnerability exist
• What are the use cases for the os.Root type
• How to use the new Go 1.24 os.Root type


⏳ Timestamps:
00:00 - Introduction
01:24 - Basic Functionality
03:30 - Vulnerability
06:20 - os.Root type
09:47 - Outro


👋 Hey there!
If you are new to this channel: Hey 👋 my name is Flo and I am a professional software engineer with a passion for coding in Golang, TypeScript, JavaScript, and Rust. This channel is where I share that passion and dive into the exciting world of software engineering.


📨 Support and Connect!
Become a member.    / @flowoelki  
Discord:   / discord  
X / Twitter: https://x.com/FlorianWoelki
LinkedIn:   / florian-woelki  
GitHub: https://github.com/FlorianWoelki


📝 Copyright Notice
The original Go Gopher was designed by Renée French (Source: https://go.dev/blog/gopher License details: https://creativecommons.org/licenses/.... The gopher appearing in this video and thumbnail is modified from the original design.


#golang #go1.24 #go #root